From 7ed3b8f63cfae7dcbd312e20eefbda46b3cd59fd Mon Sep 17 00:00:00 2001 From: ooks-io Date: Mon, 6 Jan 2025 21:51:34 +1100 Subject: [PATCH] firefox: update navbar css issue with navbar auto-hide, hopefully resolved --- modules/home/workstation/browser/firefox/theme/ooksfox.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/home/workstation/browser/firefox/theme/ooksfox.nix b/modules/home/workstation/browser/firefox/theme/ooksfox.nix index 1526974..ef6d118 100644 --- a/modules/home/workstation/browser/firefox/theme/ooksfox.nix +++ b/modules/home/workstation/browser/firefox/theme/ooksfox.nix @@ -136,6 +136,8 @@ in padding: 0; } + /* https://github.com/MrOtherGuy/firefox-csshacks/blob/8957a709e3abb7242fa89339c684f8027e66774c/chrome/autohide_main_toolbar.css#L46 */ + root{ --uc-navbar-transform: -40px; } @@ -201,4 +203,6 @@ in } /* Move up the content view */ :root[sessionrestored]:not([inFullscreen],[chromehidden~="toolbar"]) > body > #browser{ margin-top: var(--uc-navbar-transform); } + + ''