From: Vincent Vanwaelscappel Date: Fri, 5 Dec 2025 12:00:31 +0000 (+0100) Subject: wait #7881 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=68a3c7a5264c73efb5faaee3e274ca931ac53520;p=fluidbook-html5.git wait #7881 @1 --- diff --git a/js/libs/fluidbook/fluidbook.tabs.js b/js/libs/fluidbook/fluidbook.tabs.js index 828c5197..6db55f29 100644 --- a/js/libs/fluidbook/fluidbook.tabs.js +++ b/js/libs/fluidbook/fluidbook.tabs.js @@ -309,7 +309,11 @@ FluidbookTabs.prototype = { var commoncss = {}; commoncss.width = (100 * (this.linkWidth / this.naturalDimensions.width)) + "%"; - commoncss.left = (-100 * (this.margin / this.naturalDimensions.width)) + "%"; + if (this.align === 'right') { + commoncss.left = (-100 * (this.margin / this.naturalDimensions.width)) + "%"; + } else { + commoncss.right = (-100 * (this.margin / this.naturalDimensions.width)) + "%"; + } $(this.links).each(function (k, v) { var l = $('');