From 8a9b89ed724a7ecebc68baebe6cae9983d137d8e Mon Sep 17 00:00:00 2001 From: Lynx Kotoura Date: Wed, 26 Jul 2017 02:12:57 +0900 Subject: [PATCH] Fix multiple-gif display in user page (#4364) Divide media-items to equal width, and hide overlaps. --- app/javascript/styles/stream_entries.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/javascript/styles/stream_entries.scss b/app/javascript/styles/stream_entries.scss index 3856942e17..9e062c57ea 100644 --- a/app/javascript/styles/stream_entries.scss +++ b/app/javascript/styles/stream_entries.scss @@ -263,7 +263,9 @@ border: medium none; display: block; flex: 1 1 auto; + width: 100%; height: 100%; + overflow: hidden; margin-right: 2px; &:last-child {