From 2f079573ed6aed9f27ece623c56a61c8e036574e Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 24 Sep 2017 05:58:30 +0200 Subject: In detail status view, display attachment uncropped if there's only one (#5054) * In detail status view, display attachment uncropped if there's only one * Make media spoiler the size of the media it hides, enable on static --- app/javascript/styles/components.scss | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/javascript/styles') diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index b6cf920b4..da479347b 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -3645,6 +3645,12 @@ button.icon-button.active i.fa-retweet { display: block; float: left; position: relative; + + &.standalone { + .media-gallery__item-gifv-thumbnail { + transform: none; + } + } } .media-gallery__item-thumbnail { @@ -3652,6 +3658,7 @@ button.icon-button.active i.fa-retweet { display: block; text-decoration: none; height: 100%; + line-height: 0; &, img { -- cgit