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

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