From 8bc465ecf0b9cdee292236c4a8b989e9f5264d7b Mon Sep 17 00:00:00 2001 From: guerler Date: Wed, 11 Dec 2024 11:17:18 +0300 Subject: [PATCH] Adjust winbox margins, fix full-screen handling --- client/src/style/scss/windows.scss | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/client/src/style/scss/windows.scss b/client/src/style/scss/windows.scss index b390eab9c0ee..1427bb2b1c2d 100644 --- a/client/src/style/scss/windows.scss +++ b/client/src/style/scss/windows.scss @@ -1,6 +1,15 @@ .winbox { border-radius: $border-radius-base; - margin-top: $masthead-height; + margin-left: 1px; + margin-top: calc($masthead-height + 1px); +} + +.winbox.max { + border-radius: 0; + margin: 0; + .wb-header { + border-radius: 0; + } } .winbox.min { @@ -8,8 +17,9 @@ } .wb-header { - border-radius: $border-radius-base; background: $brand-info; + border-top-left-radius: $border-radius-base; + border-top-right-radius: $border-radius-base; } .wb-icon * {