Skip to content

Commit

Permalink
Merge pull request #544 from garrett/firefox-133-fixes
Browse files Browse the repository at this point in the history
Firefox 133 fixes
  • Loading branch information
KKoukiou authored Dec 6, 2024
2 parents 21517e6 + f72f337 commit 8c09152
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
16 changes: 2 additions & 14 deletions firefox-theme/live/chrome/userChrome.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/* type selector "tab" is not standard CSS */
/* stylelint-disable selector-type-no-unknown */

/* Hide things we're not going to use when there's only 1 tab */
:has(#tabbrowser-tabs tab:only-of-type) :is(#tab-notification-deck, #PersonalToolbar, #statuspanel) {
display: none;
}

/* When there's 1 tab, ajdust the minimum tab height */
#tabbrowser-tabs:has(tab:only-of-type) {
--tab-min-height: auto;
}

/* Hide the tab and unfocused nav bars for 1 tab */
#tabbrowser-tabs :is(tab:only-of-type, tab:only-of-type ~ *),
#tabbrowser-tabs:has(tab:only-of-type) + #alltabs-button,
#titlebar:has(#tabbrowser-tabs tab:only-of-type) + #nav-bar:not(:focus-within) {
/* Hide Firefox UI when there's just one tab */
#navigator-toolbox:has(tab:only-of-type) {
visibility: collapse;
}

Expand Down
2 changes: 1 addition & 1 deletion firefox-theme/live/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ user_pref("devtools.inspector.showUserAgentStyles", true);
// Don't have any startup page
user_pref("browser.startup.page", 0);
user_pref("browser.startup.homepage", "about:blank");
user_pref("browser.startup.homepage_override.once", {});
user_pref("browser.startup.homepage_override.once", "");

// Hide the bookmarks
user_pref("browser.toolbars.bookmarks.visibility", "never");
Expand Down

0 comments on commit 8c09152

Please sign in to comment.