Merge pull request #16262 from Snuffleupagus/pageNumber-rtl
Tweak the `pageNumber` CSS to better support RTL locales
This commit is contained in:
commit
195db2cff5
@ -1115,7 +1115,7 @@ a.secondaryToolbarButton[href="#"] {
|
||||
|
||||
#pageNumber {
|
||||
-moz-appearance: textfield; /* hides the spinner in moz */
|
||||
text-align: right;
|
||||
text-align: end;
|
||||
width: 40px;
|
||||
background-size: 0 0;
|
||||
transition-property: none;
|
||||
@ -1123,7 +1123,7 @@ a.secondaryToolbarButton[href="#"] {
|
||||
#pageNumber.visiblePageIsLoading {
|
||||
background-image: var(--loading-icon);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 3px;
|
||||
background-position: calc(50% - 42% * var(--dir-factor));
|
||||
background-size: 16px 16px;
|
||||
/* Using a delay with background-image doesn't work,
|
||||
consequently we use background-size. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user