status_inside_urlbar: pack statuspanel label to center when asked to

Loading status label is rendered as pseudo-element in Firefox 109 and
this change is necessary to correctly center the label in that case.
This commit is contained in:
MrOtherGuy 2022-11-28 09:01:48 +02:00
parent 6fa2a9beb4
commit 9a66b9e88f
2 changed files with 9 additions and 3 deletions

View file

@ -108,6 +108,9 @@ As a workaround, the -moz-element background image is removed somewhat often whi
/* Center the statuspanel text. This might be useful with centered urlbar text */ /* Center the statuspanel text. This might be useful with centered urlbar text */
/* /*
#statuspanel-label{ text-align: center } #statuspanel-label{
text-align: center;
-moz-box-pack: center;
}
.urlbar-input-box::after{ background-position-x: center !important; } .urlbar-input-box::after{ background-position-x: center !important; }
*/ */

View file

@ -70,6 +70,9 @@ As a workaround, the -moz-element background image is removed somewhat often whi
/* Center the statuspanel text. This might be useful with centered urlbar text */ /* Center the statuspanel text. This might be useful with centered urlbar text */
/* /*
#statuspanel-label{ text-align: center } #statuspanel-label{
#urlbar::before{ background-position-x: center !important; } text-align: center;
-moz-box-pack: center;
}
.urlbar-input-box::after{ background-position-x: center !important; }
*/ */