From d128c55364a13c4a1f064f736cfcc79fea9eb3c4 Mon Sep 17 00:00:00 2001 From: Maciej Jur Date: Tue, 13 Jun 2023 19:25:01 +0200 Subject: [PATCH] (styles) fix aside shadow --- src/styles/layouts/_wiki.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/styles/layouts/_wiki.scss b/src/styles/layouts/_wiki.scss index b92fafc..178cbdc 100644 --- a/src/styles/layouts/_wiki.scss +++ b/src/styles/layouts/_wiki.scss @@ -22,13 +22,11 @@ $bp-l: 80rem; height: 100%; transition: margin-left linear 0.1s; background-color: var(--c-bg-main); - box-shadow: var(--shadow-m); z-index: 5; @media (min-width: $bp-m) { position: static; background-color: unset; - box-shadow: unset; } .link-tree { @@ -51,6 +49,12 @@ $bp-l: 80rem; #wiki-aside-shown { &:checked { ~ .wiki-aside { + box-shadow: var(--shadow-m); + + @media (min-width: $bp-m) { + box-shadow: unset; + } + > .wiki-aside__slider { transform: rotate(180deg); }