mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 963590 - [Mac] Make sure lightweight themes don't affect fullscreen toolbar height/position. r=MattN
This commit is contained in:
parent
15bff3febb
commit
1c96f3f561
@ -3928,15 +3928,14 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
||||
|
||||
/* Lion Fullscreen window styling */
|
||||
@media (-moz-mac-lion-theme) {
|
||||
#navigator-toolbox[inFullscreen]:not(:-moz-lwtheme)::before {
|
||||
#navigator-toolbox[inFullscreen]::before {
|
||||
/* Adjust by the full element height of #titlebar, since that element is
|
||||
* not displayed in native full-screen.
|
||||
* Also add the height of the tabs, since we're calculating the
|
||||
* total height of this pseudo-element, not just the top-padding. */
|
||||
height: calc(@tabHeight@ + @spaceAboveTabbar@) !important;
|
||||
}
|
||||
#main-window[inFullscreen][privatebrowsingmode=temporary],
|
||||
#main-window[inFullscreen]:-moz-lwtheme {
|
||||
#main-window[inFullscreen][privatebrowsingmode=temporary] {
|
||||
/* Adjust by the full element height of #titlebar, since that element is
|
||||
* not displayed in native full-screen. */
|
||||
padding-top: @spaceAboveTabbar@;
|
||||
|
Loading…
Reference in New Issue
Block a user