]> _ Git - fluidbook-html5.git/commitdiff
wait #5800 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 10 Mar 2023 17:50:33 +0000 (18:50 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 10 Mar 2023 17:50:33 +0000 (18:50 +0100)
js/libs/fluidbook/fluidbook.resize.js

index 35fd61c8f8190e989b08dfcd21ca042cefc1c854..e53234f8fb4d0a95f2853848169fbfbbe369a6a2 100644 (file)
@@ -229,7 +229,7 @@ FluidbookResize.prototype = {
         // var pageNumberScale = Math.min(1, 1 / (this.bookScale / 0.5));
         // $("#pagesnumbers").css('font-size', $("#pagesnumbers").data('size') * pageNumberScale);
         $("#pagesnumbers").css({
-            'transform': 'scale(' + (this.bookScale) + ')', top: this.fh
+            transform: 'scale(' + (this.bookScale) + ')', top: this.fh, fontSize: 20 / this.bookScale
         });
 
         if (this.fluidbook._boolean(this.fluidbook.settings.logoHideWhenOverriden)) {