diff --git a/src/browser/base/content/zen-styles/zen-compact-mode.css b/src/browser/base/content/zen-styles/zen-compact-mode.css index 8aebef5c6..9b3c017f3 100644 --- a/src/browser/base/content/zen-styles/zen-compact-mode.css +++ b/src/browser/base/content/zen-styles/zen-compact-mode.css @@ -42,6 +42,15 @@ } } + /* When we have multiple toolbars and the top-toolbar is NOT being hidden, + * we need to adjust the top-padding of the toolbox to account for the + * extra toolbar height. */ + @media not (-moz-bool-pref: 'zen.view.compact.hide-toolbar') { + &:not([zen-single-toolbar='true']) #navigator-toolbox { + margin-top: var(--zen-toolbar-height) !important; + } + } + &[zen-right-side='true'] { & #navigator-toolbox { --zen-compact-float: calc(var(--zen-element-separation) + 1px);