diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-24 05:58:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-24 05:58:30 +0200 |
commit | 2f079573ed6aed9f27ece623c56a61c8e036574e (patch) | |
tree | f92581f8f6f61e3bebd794cf176e89d7b6b63310 /app/javascript/styles | |
parent | b2820c3913266711716c6d91b2198d964881dbba (diff) |
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
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/components.scss | 7 |
1 files changed, 7 insertions, 0 deletions
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 { |