From e081bcd6fe7645d33791b49ed19b0b10245c8fb2 Mon Sep 17 00:00:00 2001 From: banglashi Date: Tue, 10 Nov 2020 20:54:53 +0100 Subject: [PATCH] top-left align thumbs instead of bg cover (#111) * top-left align thumbs instead of bg cover * compile styles --- public/stylesheets/style.css | 3 +-- styles/folder.scss | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 35df64a..4a05026 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -12651,13 +12651,12 @@ button.close { position: absolute; width: 100%; overflow: hidden; - background-size: cover; background-color: transparent; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; - background-position: center 100%; + background-position: left top; background-repeat: no-repeat; } #folder-grid .item > a .item-title { display: block; diff --git a/styles/folder.scss b/styles/folder.scss index 511f51f..6c18cf8 100644 --- a/styles/folder.scss +++ b/styles/folder.scss @@ -419,14 +419,13 @@ width: 100%; overflow: hidden; - background-size: cover; background-color: transparent; border-top-left-radius: $radius*2; border-top-right-radius: $radius*2; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; - background-position: center 100%; + background-position: left top; background-repeat: no-repeat; }