socialnetworknews-web

A open-source Paper.li clone
git clone git://archive.git.mtrnord.blog/SocialNetworkNews/socialnetworknews-web.git
Log | Files | Refs | README | LICENSE

commit 02cb0bdc90853bd65839c886f6afd5dce6b20b51
parent 4f983adb6ec16467bad822182a52d7946f2eac5c
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue, 27 Mar 2018 18:59:02 +0200

Hide overflow in Lightbox

Diffstat:
Msrc/app/tweet-list/tweet-list.component.scss | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/app/tweet-list/tweet-list.component.scss b/src/app/tweet-list/tweet-list.component.scss @@ -14,6 +14,7 @@ .lightbox { /** Default lightbox to hidden */ display: none; + overflow: hidden; /** Position and style */ position: fixed; @@ -29,7 +30,7 @@ .lightbox > .img-wrapper { width: 70%; height: 70%; - overflow: auto; + overflow: hidden; margin: auto; position: absolute; top: 0; @@ -40,6 +41,7 @@ .lightbox > .img-wrapper img { /** Pad the lightbox image */ + overflow: hidden; max-width: 100%; max-height: 100%; //margin-top: 2%;