From: Vincent Vanwaelscappel Date: Mon, 27 Mar 2023 15:17:01 +0000 (+0200) Subject: wait #5831 @0.75 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=0cf2028d39497a66872518b453cedd3270c27a97;p=fluidbook-html5.git wait #5831 @0.75 --- diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index 8167ed45..ed7a72dd 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -1057,7 +1057,12 @@ FluidbookMenu.prototype = { } if ($(".indexViewHolder").length > 0) { - var indexWidth = Math.floor(ww / 230) * 230; + let baseWidth = 130; + if ($(".indexViewHolder").find('.doubleThumb:not(.simple)').length > 0) { + baseWidth = 230; + } + var indexWidth = Math.floor(w / baseWidth) * baseWidth; + $(".indexViewHolder").css('width', indexWidth); } diff --git a/style/fluidbook.less b/style/fluidbook.less index 93fa9634..4c4fbacc 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -2073,6 +2073,10 @@ form input[type="text"], form input[type="email"] { left: 50px; } } + + .thumb { + margin-right: 0 !important; + } } &.here {