Merge pull request #16262 from Snuffleupagus/pageNumber-rtl

Tweak the `pageNumber` CSS to better support RTL locales
This commit is contained in:
Jonas Jenwald 2023-04-08 20:19:12 +02:00 committed by GitHub
commit 195db2cff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. */