Handle both [collapsed="true"] and [collpsed=""] attributes
Firefox 143 use collapsed attribute as regular boolean attribute, so we need to handle both cases.
This commit is contained in:
@@ -95,12 +95,12 @@ See the above repository for updates as well as full license text. */
|
||||
|
||||
/* Make sure the bookmarks toolbar is never collapsed even if it is disabled */
|
||||
:root[sizemode="fullscreen"] #PersonalToolbar,
|
||||
#PersonalToolbar[collapsed="true"]{
|
||||
#PersonalToolbar:is([collapsed=""],[collapsed="true"]){
|
||||
min-height: initial !important;
|
||||
max-height: initial !important;
|
||||
visibility: hidden !important
|
||||
}
|
||||
#PersonalToolbar[collapsed="true"] #PlacesToolbarItems > *,
|
||||
#PersonalToolbar:is([collapsed=""],[collapsed="true"]) #PlacesToolbarItems > *,
|
||||
:root[sizemode="fullscreen"] #PersonalToolbar #PlacesToolbarItems > *{
|
||||
visibility: hidden !important;
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ See the above repository for updates as well as full license text. */
|
||||
}
|
||||
|
||||
#navigator-toolbox[inFullscreen] > #PersonalToolbar,
|
||||
#PersonalToolbar[collapsed="true"]{ display: none }
|
||||
#PersonalToolbar:is([collapsed=""],[collapsed="true"]){ display: none }
|
||||
|
||||
/* This is a bit hacky fix for an issue that will make urlbar zero pixels tall after you enter customize mode */
|
||||
#urlbar[breakout][breakout-extend] > .urlbar-input-container{
|
||||
|
||||
@@ -12,7 +12,7 @@ See the above repository for updates as well as full license text. */
|
||||
margin-bottom: var(--uc-bm-toolbar-height,0);
|
||||
border-bottom: 1px solid var(--chrome-content-separator-color,light-dark(rgb(204, 204, 204), hsl(240, 5%, 5%)))
|
||||
}
|
||||
#navigator-toolbox:has(> #PersonalToolbar[collapsed="true"]) + #browser{
|
||||
#navigator-toolbox:has(> #PersonalToolbar:is([collapsed=""],[collapsed="true"])) + #browser{
|
||||
margin-bottom: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user