Skip to content

Commit

Permalink
Fix: Build - Fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Jun 3, 2022
1 parent 8593122 commit c5be5cb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/fullscreen/_overlap.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
:root[sizemode="fullscreen"] #navigator-toolbox {
position: fixed !important; /* Needed for content to take up entire height */
z-index: 1000 !important; /* Puts the UI above the content */
}

:root[sizemode="fullscreen"] :-moz-any(#navigator-toolbox, #titlebar, #nav-bar, #PersonalToolbar) {
width: 100%; /* Makes the UI take up the entire width */
}

@include OS($linux) {
/* Fix transparent backgorund */
:root[tabsintitlebar][sizemode="fullscreen"] #TabsToolbar:not(:-moz-lwtheme) {
appearance: auto !important;
}
}
4 changes: 4 additions & 0 deletions src/fullscreen/_show_bookmarkbar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
:root:not([sizemode="fullscreen"]) #PersonalToolbar[initialized="true"]:not([collapsed="true"]),
:root[sizemode="fullscreen"] #PersonalToolbar[initialized="true"] {
visibility: unset !important; /* Makes the bookmarks toolbar visible if enabled */
}

0 comments on commit c5be5cb

Please sign in to comment.