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:
MrOtherGuy
2025-09-16 05:59:34 +03:00
parent e31863b288
commit f87fcdf68c
3 changed files with 4 additions and 4 deletions

View File

@@ -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;
}