diff --git a/web/viewer.css b/web/viewer.css index 73f8d3b4f..5cc3affca 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -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. */