userChrome/browser: fix kiosk mode

Make sure the navigation bar is hidden again in kiosk mode. This patch
adds the rest of MR 17 and a comment why it makes sense here.

Fixes: #29
This commit is contained in:
Oliver Smith 2021-12-12 10:26:30 +01:00
parent c58bdd7b1b
commit e5ee057e95
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -6,4 +6,13 @@
#browser {
-moz-box-ordinal-group: 0 !important;
}
/* Hide navigation bar in kiosk mode (to prevent bug #29). We can assume FF
* is in kiosk mode when fullscreen and max-width conditions are met,
* because at this max-width the fullscreen button is hidden
* (see appMenu.css). */
#nav-bar[inFullscreen],
#TabsToolbar[inFullscreen] {
display: none;
}
}