]> cat aescling's git repositories - mastodon.git/commitdiff
Fix multiple-gif display in user page (#4364)
authorLynx Kotoura <lynx@lv9.org>
Tue, 25 Jul 2017 17:12:57 +0000 (02:12 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 25 Jul 2017 17:12:57 +0000 (19:12 +0200)
Divide media-items to equal width, and hide overlaps.

app/javascript/styles/stream_entries.scss

index 3856942e17f3fee9e002d5a3871f13d62ca2d6a9..9e062c57ea34223a1a9d72f3371cc63164b9a30b 100644 (file)
     border: medium none;
     display: block;
     flex: 1 1 auto;
+    width: 100%;
     height: 100%;
+    overflow: hidden;
     margin-right: 2px;
 
     &:last-child {