logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 0e09048537fee9906ab582bc0704e1a3395c04ed
parent: 7362469d8956d5f972283aadd4157631aa66b085
Author: Yamagishi Kazutoshi <ykzts@desire.sh>
Date:   Fri, 30 Jun 2017 20:40:00 +0900

Fix broken style in media gallery (regression from #3963) (#4014)


Diffstat:

Mapp/javascript/styles/components.scss9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss @@ -3421,19 +3421,16 @@ button.icon-button.active i.fa-retweet { } .media-gallery__item-thumbnail { - background-position: center; - background-repeat: no-repeat; - background-size: cover; cursor: zoom-in; - display: flex; - align-items: center; + display: block; text-decoration: none; height: 100%; &, img { width: 100%; - overflow: hidden; + height: 100%; + object-fit: cover; } }