From 89538ffea33cc2685f38fd9f27514e9493bf26a7 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sat, 29 May 2021 21:49:33 +0200 Subject: Uniform shadow on Settings dialog Previously, the shadow was only applied to the sidebar of the dialog. Also fixes the rendering artifacts near the close button. --- src/styles/settings.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/styles/settings.scss b/src/styles/settings.scss index 0b4dd952b..e4f6f3937 100644 --- a/src/styles/settings.scss +++ b/src/styles/settings.scss @@ -135,13 +135,13 @@ .settings { border-radius: $theme-border-radius; - // box-shadow: 0 20px 50px rgba(black, .5); + box-shadow: 0 20px 50px rgba($dark-theme-black, .5); display: flex; height: 100%; max-height: 720px; max-width: 900px; min-height: 400px; - // overflow: hidden; + overflow: hidden; position: relative; width: 100%; z-index: 9999; @@ -245,7 +245,6 @@ position: absolute; right: 0; transition: background $theme-transition-time; - border-top-right-radius: $theme-border-radius; cursor: pointer; &::before { cursor: pointer; } @@ -454,7 +453,6 @@ border-top-left-radius: $theme-border-radius;; border-bottom-left-radius: $theme-border-radius;; overflow: hidden; - box-shadow: 0 20px 50px rgba($dark-theme-black, .5); .settings-navigation__link { align-items: center; -- cgit v1.2.3-70-g09d2