diff --git a/stirling-pdf/src/main/resources/static/css/general.css b/stirling-pdf/src/main/resources/static/css/general.css index 88e7a1b11..f94eef705 100644 --- a/stirling-pdf/src/main/resources/static/css/general.css +++ b/stirling-pdf/src/main/resources/static/css/general.css @@ -16,9 +16,8 @@ .navbar { height: auto; - /* Adjusts height automatically based on content */ white-space: nowrap; - /* Prevents wrapping of navbar contents */ + width: 100vw; } /* TODO enable later @@ -30,6 +29,7 @@ margin-right: auto; }*/ + html[dir="ltr"] * { direction: ltr; } diff --git a/stirling-pdf/src/main/resources/static/css/navbar.css b/stirling-pdf/src/main/resources/static/css/navbar.css index 31099cdf2..384d54186 100644 --- a/stirling-pdf/src/main/resources/static/css/navbar.css +++ b/stirling-pdf/src/main/resources/static/css/navbar.css @@ -269,7 +269,9 @@ span.icon-text::after { /* Mega Menu */ .dropdown-mega .dropdown-menu { - width: 98%; + width: 100%; + left: 0 !important; + right: auto !important; } .dropdown-mega .title { @@ -477,9 +479,8 @@ html[dir="rtl"] .dropdown-menu[data-bs-popper] { display: flex; gap: 30px; justify-content: center; - width: 140%; + width: 100%; position: relative; - left: -20%; } .feature-group { diff --git a/stirling-pdf/src/main/resources/templates/fragments/common.html b/stirling-pdf/src/main/resources/templates/fragments/common.html index 26a7971ff..0f9db7b76 100644 --- a/stirling-pdf/src/main/resources/templates/fragments/common.html +++ b/stirling-pdf/src/main/resources/templates/fragments/common.html @@ -23,6 +23,87 @@ @@ -327,4 +408,4 @@ window.stirlingPDF.GoogleDriveAppId = /*[[${@GoogleDriveConfig.getAppId()}]]*/ null; - \ No newline at end of file + diff --git a/stirling-pdf/src/main/resources/templates/fragments/footer.html b/stirling-pdf/src/main/resources/templates/fragments/footer.html index 01616ddca..2d8465bf5 100644 --- a/stirling-pdf/src/main/resources/templates/fragments/footer.html +++ b/stirling-pdf/src/main/resources/templates/fragments/footer.html @@ -1,7 +1,7 @@