From e37743cd9ac5b77693a7f172cf390f124c3b4c4f Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Mon, 6 Jun 2022 22:32:14 +0900 Subject: [PATCH] Fix: Compatibility - Windows photon-style's compact mode with maximized top padding #384 --- css/leptonChrome.css | 5 +++++ src/compatibility/_theme.scss | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 3f0bbdd..293001e 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -68,6 +68,11 @@ margin-left: -1px; } + /*= Titlebar Container Size at photon-style compact maximized #384 ===========*/ + :root[tabsintitlebar][sizemode="maximized"] #titlebar { + appearance: unset !important; + } + /*= Disabled menu background color ===========================================*/ menuitem[disabled="true"], menu[disabled="true"] { diff --git a/src/compatibility/_theme.scss b/src/compatibility/_theme.scss index e30c33f..e8c3691 100644 --- a/src/compatibility/_theme.scss +++ b/src/compatibility/_theme.scss @@ -37,6 +37,11 @@ margin-left: -1px; } +/*= Titlebar Container Size at photon-style compact maximized #384 ===========*/ +:root[tabsintitlebar][sizemode="maximized"] #titlebar { + appearance: unset !important; +} + /*= Disabled menu background color ===========================================*/ menuitem, menu {