From 69ca6316ec6b99b896e3ff62106bb4e9dbc9b6fa Mon Sep 17 00:00:00 2001 From: Rubicon Rowe Date: Tue, 4 Apr 2023 17:41:05 +0800 Subject: [PATCH] [Glitch] Fix inconsistent radius in drawer Port fa98363a2789f23e110312f23bf4c00234dcd59a to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/styles/components/drawer.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/javascript/flavours/glitch/styles/components/drawer.scss b/app/javascript/flavours/glitch/styles/components/drawer.scss index 9de5a4435..33a48eec4 100644 --- a/app/javascript/flavours/glitch/styles/components/drawer.scss +++ b/app/javascript/flavours/glitch/styles/components/drawer.scss @@ -50,12 +50,14 @@ } .drawer--header { + flex: none; + font-size: 16px; + background: lighten($ui-base-color, 8%); + margin-bottom: 10px; display: flex; flex-direction: row; - margin-bottom: 10px; - flex: none; - background: lighten($ui-base-color, 8%); - font-size: 16px; + border-radius: 4px; + overflow: hidden; & > * { display: block; @@ -179,6 +181,7 @@ position: relative; overflow: hidden; display: flex; + border-radius: 4px; } .drawer__inner {