diff --git a/stirling-pdf/src/main/resources/templates/home.html b/stirling-pdf/src/main/resources/templates/home.html index f964a5715..3d4908e9c 100644 --- a/stirling-pdf/src/main/resources/templates/home.html +++ b/stirling-pdf/src/main/resources/templates/home.html @@ -237,6 +237,13 @@ el.style.transform = `scale(${finalS})`; el.style.transformOrigin = 'top center'; el.style.height = `${origH * finalS}px`; + + // Adjust features container width to use full available space + const featuresContainer = document.querySelector('.features-container'); + if (featuresContainer) { + const compensatedWidth = Math.min(140, 100 / finalS); // Max 140%, min what's needed + featuresContainer.style.width = `${compensatedWidth}%`; + } } let prevW = window.innerWidth; let prevH = window.innerHeight;