]> _ Git - fluidbook-html5.git/commitdiff
wait #7086 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 18 Sep 2024 08:16:47 +0000 (10:16 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 18 Sep 2024 08:16:47 +0000 (10:16 +0200)
js/libs/fluidbook/fluidbook.menu.js

index b0f7813f3697a76d0d4adc16cfbf8d8a3736812e..3d973e247a7bf6653fef2cf2309de528702508ed 100644 (file)
@@ -794,7 +794,7 @@ FluidbookMenu.prototype = {
                 if (this.fluidbook.settings.chaptersColumns > 1) {
                     w = this.fluidbook.settings.chaptersColMaxWidth * this.fluidbook.settings.chaptersColumns;
                 } else {
-                    w = Math.min(450, this.fluidbook.settings.chaptersColMaxWidth);
+                    w = Math.max(300, this.fluidbook.settings.chaptersColMaxWidth);
                 }
                 fullscreen = (w >= ww * 0.9);
                 if (fullscreen) {