From ec81f70b5983054b0e0fa46a75c639c665b1550b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 15 May 2021 20:28:42 +0200 Subject: Fix overlapping box-shadows in card grid, load theme from localStorage --- assets/css/layouts/_card-grid.scss | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'assets/css/layouts') diff --git a/assets/css/layouts/_card-grid.scss b/assets/css/layouts/_card-grid.scss index 7c8ad8c..235ef0b 100644 --- a/assets/css/layouts/_card-grid.scss +++ b/assets/css/layouts/_card-grid.scss @@ -9,6 +9,11 @@ display: grid; grid-template-columns: repeat(auto-fill, minmax(#{prop(--dims --col-width)}, 1fr)); gap: .6rem; + filter: drop-shadow(#{prop(--dims --obj-shadow, $global: true)} #{prop(--colors --obj-shadow-filter, $global: true)}); + + @include element('card') { + box-shadow: none; + } @include media('<=sm') { grid-template-columns: 1fr; -- cgit v1.2.3-70-g09d2