From: Vincent Vanwaelscappel Date: Fri, 26 Sep 2025 14:28:34 +0000 (+0200) Subject: wait #7764 @1.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2fd5bf73537bab0c9ed0d4aa8a28f77a579b18db;p=fluidbook-html5.git wait #7764 @1.5 --- diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index b37c7442..e9ef906b 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -1193,7 +1193,13 @@ FluidbookMenu.prototype = { var captionHeight = 0; m.find('.caption, .fixed, .fonctions').each(function () { - captionHeight += $(this).outerHeight(); + if ($(this).closest('.content').length > 0) { + return; + } + let ch = $(this).outerHeight(); + captionHeight += ch; + console.log(ch, $(this)); + }); if (maxWidth > 0) {