From 18c81917ed728406feb65247252b3583822e891b Mon Sep 17 00:00:00 2001 From: Saltssaumure Date: Thu, 23 Nov 2023 18:55:05 +0000 Subject: [PATCH] Add main window title for linux and web --- scss/plugin/_HorizontalServerList.scss | 2 +- scss/top/_boxes.scss | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/scss/plugin/_HorizontalServerList.scss b/scss/plugin/_HorizontalServerList.scss index 11cb607..3440ab1 100644 --- a/scss/plugin/_HorizontalServerList.scss +++ b/scss/plugin/_HorizontalServerList.scss @@ -21,7 +21,7 @@ body #app-mount .guilds__2b93a { } // Titlebar -html.platform-osx #app-mount { +.platform-osx #app-mount { .base__3e6af { top: 0 !important; } diff --git a/scss/top/_boxes.scss b/scss/top/_boxes.scss index 698f234..3f457c1 100644 --- a/scss/top/_boxes.scss +++ b/scss/top/_boxes.scss @@ -10,9 +10,17 @@ @mixin mainWindow { margin: $window-top $window-right $window-bottom $window-left; - overflow: hidden; z-index: 1; - @include windowBox($VERTICAL-OFFSET: 3px); + overflow: hidden; + + .platform-win & { + @include windowBox($VERTICAL-OFFSET: 3px); + overflow: hidden; + } + :is(.platform-web, .platform-linux) & { + @include windowHasPseudoTitle("Discord"); + overflow: visible; + } } @mixin barGradient($ISROTATE, $COLOR-DARK, $COLOR-LIGHT) {