From: Vincent Vanwaelscappel Date: Wed, 20 Apr 2022 09:48:57 +0000 (+0200) Subject: wait #5243 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=39e2f1b4e9b9fd0176e23a6482ee4e8bcad09164;p=fluidbook-html5.git wait #5243 @0:10 --- diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index db0bfe88..ba65882a 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -732,8 +732,6 @@ FluidbookMenu.prototype = { fullscreen = (w >= ww * 0.9); break; case 'index': - var indexWidth = Math.floor(ww / 230) * 230; - $(".indexViewHolder").css('width', indexWidth); if (this.fluidbook.mobilefirst.enabled) { var cw = 10 + 130 * this.fluidbook.settings.pages; fullscreen = (cw >= ww * 0.9); @@ -1013,6 +1011,11 @@ FluidbookMenu.prototype = { break; } + if ($(".indexViewHolder").length > 0) { + var indexWidth = Math.floor(ww / 230) * 230; + $(".indexViewHolder").css('width', indexWidth); + } + var captionHeight = 0; m.find('.caption, .fixed, .fonctions').each(function () { captionHeight += $(this).outerHeight(); diff --git a/style/bookmarks.less b/style/bookmarks.less index 5316a00e..88fb3b01 100644 --- a/style/bookmarks.less +++ b/style/bookmarks.less @@ -186,6 +186,10 @@ a.bookmark { } } -#bookmarkDisplayOptions{ - padding-bottom: 15px; +#bookmarkDisplayOptions { + padding-bottom: 10px; + + .radio-option { + margin-bottom: 5px; + } } \ No newline at end of file