summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_files.scss
diff options
context:
space:
mode:
authorFlorian Orben <florian.orben@gmail.com>2015-10-20 20:42:02 +0200
committerFlorian Orben <florian.orben@gmail.com>2015-10-21 18:13:59 +0200
commitb00697a5009b30eea7e34f340dfdf6b691c4087b (patch)
tree5566c63566ae09065b107955ba5c8c02cd8e8f12 /web/sass-files/sass/partials/_files.scss
parent62a32f71875465f045b89486e234eb282975858a (diff)
downloadchat-b00697a5009b30eea7e34f340dfdf6b691c4087b.tar.gz
chat-b00697a5009b30eea7e34f340dfdf6b691c4087b.tar.bz2
chat-b00697a5009b30eea7e34f340dfdf6b691c4087b.zip
apply portrait/landscape/quadrat format to playing gif to always display it in best possible way
Diffstat (limited to 'web/sass-files/sass/partials/_files.scss')
-rw-r--r--web/sass-files/sass/partials/_files.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/sass-files/sass/partials/_files.scss b/web/sass-files/sass/partials/_files.scss
index e4d658230..d3ab3b9f8 100644
--- a/web/sass-files/sass/partials/_files.scss
+++ b/web/sass-files/sass/partials/_files.scss
@@ -150,8 +150,13 @@
margin-top: -16px;
}
.file__loaded {
- height: 100px;
max-width: initial;
+ &.landscape, &.quadrat {
+ height: 100px;
+ }
+ &.portrait {
+ width: 120px;
+ }
}
&:hover .file-playback-controls.stop {
@include opacity(1);