From 442da0aa872065d550190dfa75dca3173c7302c3 Mon Sep 17 00:00:00 2001 From: Beef Date: Tue, 13 Dec 2022 20:26:08 +0000 Subject: [PATCH] gluon/firefox: fix css for native titlebar (#3) --- gluon/browser/firefox.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gluon/browser/firefox.js b/gluon/browser/firefox.js index 3d4f18d..3cb7b44 100644 --- a/gluon/browser/firefox.js +++ b/gluon/browser/firefox.js @@ -61,6 +61,15 @@ user_pref('privacy.window.maxInnerHeight', ${windowSize[1]}); */ .tab-content { height: 42px; } + +:not(html[tabsintitlebar="true"]) #titlebar, +:not(html[tabsintitlebar="true"]) .tabbrowser-tab, +:not(html[tabsintitlebar="true"]) .tab-background, +:not(html[tabsintitlebar="true"]) .tab-content, +:not(html[tabsintitlebar="true"]) #tabbrowser-tabs, +:not(html[tabsintitlebar="true"]) .tab-icon-image { + display: none !important; +} `); const proc = spawn(browserPath, [