fix various layout issues ff 113+ #88

This commit is contained in:
bmFtZQ 2023-04-24 15:47:03 +08:00
parent c1488294e0
commit cb4ebed356
5 changed files with 10 additions and 5 deletions

View file

@ -73,7 +73,7 @@
/* firefox profile avatar in appmenu */ /* firefox profile avatar in appmenu */
#appMenu-fxa-label2::before { #appMenu-fxa-label2::before {
content: ""; content: "";
display: -moz-box; display: flex;
height: 16px; height: 16px;
width: 16px; width: 16px;
background: var(--avatar-image-url) 0/16px; background: var(--avatar-image-url) 0/16px;
@ -311,6 +311,7 @@
} }
#PopupAutoComplete .autocomplete-richlistitem[originaltype="loginsFooter"] { #PopupAutoComplete .autocomplete-richlistitem[originaltype="loginsFooter"] {
justify-content: start !important;
-moz-box-pack: start !important; -moz-box-pack: start !important;
color: inherit !important; color: inherit !important;
background-color: transparent !important; background-color: transparent !important;
@ -571,7 +572,7 @@ panelview .toolbarbutton-1,
} }
menuitem:is([type="checkbox"], [checked="true"], [type="radio"])>.menu-iconic-left>.menu-iconic-icon { menuitem:is([type="checkbox"], [checked="true"], [type="radio"])>.menu-iconic-left>.menu-iconic-icon {
display: -moz-box !important; display: flex !important;
} }
menuitem[checked="true"]>.menu-iconic-left, menuitem[checked="true"]>.menu-iconic-left,
@ -597,6 +598,7 @@ panelview .toolbarbutton-1,
} }
#context-navigation>.menuitem-iconic { #context-navigation>.menuitem-iconic {
justify-content: center !important;
-moz-box-pack: center !important; -moz-box-pack: center !important;
} }

View file

@ -217,11 +217,12 @@ bugs with certain themes eg. dark text on dark background.) */
} }
#context-navigation>.menuitem-iconic { #context-navigation>.menuitem-iconic {
justify-content: start !important;
-moz-box-pack: start !important; -moz-box-pack: start !important;
} }
#context-navigation .menu-iconic-text { #context-navigation .menu-iconic-text {
display: -moz-box !important; display: flex !important;
} }
:root, :root,
@ -280,6 +281,6 @@ bugs with certain themes eg. dark text on dark background.) */
@supports -moz-bool-pref("uc.tweak.show-tab-close-button-on-hover") { @supports -moz-bool-pref("uc.tweak.show-tab-close-button-on-hover") {
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([pinned], [selected]):hover .tab-close-button { #tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([pinned], [selected]):hover .tab-close-button {
display: -moz-box !important; display: flex !important;
} }
} }

View file

@ -41,6 +41,7 @@
} }
#fxa-toolbar-menu-button { #fxa-toolbar-menu-button {
display: flex !important;
display: -moz-box !important; display: -moz-box !important;
} }

View file

@ -273,7 +273,7 @@
} }
.titlebar-spacer[type="post-tabs"] { .titlebar-spacer[type="post-tabs"] {
display: -moz-box !important; display: flex !important;
} }
.titlebar-spacer[type="pre-tabs"], .titlebar-spacer[type="pre-tabs"],

View file

@ -123,6 +123,7 @@
#tracking-protection-icon-container, #tracking-protection-icon-container,
#page-action-buttons { #page-action-buttons {
-moz-box-ordinal-group: 2 !important; -moz-box-ordinal-group: 2 !important;
order: 2 !important;
} }
#urlbar-container:not(:hover) #tracking-protection-icon-container:not([open]) { #urlbar-container:not(:hover) #tracking-protection-icon-container:not([open]) {