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..78c806267 100644 --- a/stirling-pdf/src/main/resources/static/css/navbar.css +++ b/stirling-pdf/src/main/resources/static/css/navbar.css @@ -270,6 +270,8 @@ span.icon-text::after { /* Mega Menu */ .dropdown-mega .dropdown-menu { width: 98%; + transform: scale(0.85); + transform-origin: top center; } .dropdown-mega .title { diff --git a/stirling-pdf/src/main/resources/templates/fragments/common.html b/stirling-pdf/src/main/resources/templates/fragments/common.html index 38e71f04f..a19cff8b7 100644 --- a/stirling-pdf/src/main/resources/templates/fragments/common.html +++ b/stirling-pdf/src/main/resources/templates/fragments/common.html @@ -23,6 +23,37 @@ diff --git a/stirling-pdf/src/main/resources/templates/home.html b/stirling-pdf/src/main/resources/templates/home.html index a6f343d3c..f964a5715 100644 --- a/stirling-pdf/src/main/resources/templates/home.html +++ b/stirling-pdf/src/main/resources/templates/home.html @@ -216,32 +216,53 @@