diff --git a/src/zen/common/styles/zen-omnibox.css b/src/zen/common/styles/zen-omnibox.css index 8b8bc51e5..ba321e429 100644 --- a/src/zen/common/styles/zen-omnibox.css +++ b/src/zen/common/styles/zen-omnibox.css @@ -268,7 +268,7 @@ background-color: var(--zen-urlbar-background-transparent, var(--zen-urlbar-background-base)) !important; box-shadow: 0 30px 140px -15px light-dark(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)) !important; backdrop-filter: none !important; - outline: 0.5px solid light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2)) !important; + outline: 0.5px solid light-dark(rgba(0, 0, 0, 0.3), rgba(255, 255, 255, 0.2)) !important; outline-offset: var(--zen-urlbar-outline-offset) !important; /* stylelint-disable-next-line media-query-no-invalid */ diff --git a/src/zen/compact-mode/ZenCompactMode.mjs b/src/zen/compact-mode/ZenCompactMode.mjs index c0c40036b..19b0abd68 100644 --- a/src/zen/compact-mode/ZenCompactMode.mjs +++ b/src/zen/compact-mode/ZenCompactMode.mjs @@ -590,7 +590,7 @@ window.gZenCompactModeManager = { if (!toggle) { return; } - toggle.setAttribute("checked", this.preference); + toggle.toggleAttribute("checked", this.preference); const hideTabBar = this.canHideSidebar; const hideToolbar = this.canHideToolbar; @@ -600,9 +600,9 @@ window.gZenCompactModeManager = { const sidebarItem = document.getElementById(idName + "sidebar"); const toolbarItem = document.getElementById(idName + "toolbar"); const bothItem = document.getElementById(idName + "both"); - sidebarItem.setAttribute("checked", !hideBoth && hideTabBar); - toolbarItem.setAttribute("checked", !hideBoth && hideToolbar); - bothItem.setAttribute("checked", hideBoth); + sidebarItem.toggleAttribute("checked", !hideBoth && hideTabBar); + toolbarItem.toggleAttribute("checked", !hideBoth && hideToolbar); + bothItem.toggleAttribute("checked", hideBoth); }, _removeOpenStateOnUnifiedExtensions() {