... | ... | @@ -508,15 +508,17 @@ Please consider: |
|
|
}
|
|
|
|
|
|
/*
|
|
|
* You need to subtract the height of the panels above sidebar: nav bar,
|
|
|
* bookmarks bar, etc. -- whichever you have enabled.
|
|
|
* You need to subtract the height of the panels above sidebar: toolbar (with the URL),
|
|
|
* bookmarks bar, etc. -- whichever is enabled/displayed.
|
|
|
* You can see which mode (normal, compact or touch) you’re in by going to:
|
|
|
* Firefox Menu → Customize… (at the bottom of the screen) → Density
|
|
|
*
|
|
|
* |normal | compact | touch
|
|
|
* Menu bar | 27px
|
|
|
* Tab bar | 33px | 29px | 41px
|
|
|
* Nav bar | 40px | 32px | 40px
|
|
|
* Bookmarks bar | 23px | 21px | 27px
|
|
|
* Sidebar header | 31px
|
|
|
* | normal | compact | touch
|
|
|
* Menu bar | 27px | 27px | 27px
|
|
|
* Tab bar | 33px | 29px | 41px
|
|
|
* Toolbar | 40px | 32px | 40px
|
|
|
* Bookmarks bar | 23px | 21px | 27px
|
|
|
* Sidebar header | 31px | 31px | 31px
|
|
|
*
|
|
|
* Ex: in compact mode:
|
|
|
* - menu bar, tab bar and sidebar header hidden (0px)
|
... | ... | |