diff options
author | Ondřej Hruška <ondra@ondrovo.com> | 2017-07-17 20:03:57 +0200 |
---|---|---|
committer | Ondřej Hruška <ondra@ondrovo.com> | 2017-07-17 20:03:57 +0200 |
commit | c727eae4412ac9e4f1bafdc68fe89dcd46d602ca (patch) | |
tree | ee7ce8662f6a91c87cf46bf6de70dae66556c0d0 /app/javascript/styles | |
parent | d0aad1ac854eaa53f9b7d38cc8dd90e289790629 (diff) | |
parent | 681c33d1f4c395742918eb66f2db979b0d628118 (diff) |
Updated from tootsuite
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/components.scss | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index f12c8fbd1..a09a33e00 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -1384,8 +1384,8 @@ top: 0; left: 0; right: 0; - width: 100%; - height: 100%; + max-width: 100%; + max-height: 100%; background-image: none; } @@ -3313,8 +3313,9 @@ button.icon-button.active i.fa-retweet { video { max-width: 80vw; max-height: 80vh; - width: 100%; + width: auto; height: auto; + margin: auto; } .extended-video-player, @@ -3330,6 +3331,10 @@ button.icon-button.active i.fa-retweet { background: url('../images/void.png') repeat; object-fit: contain; } + + .react-swipeable-view-container { + max-width: 80vw; + } } .media-modal__close { |