From c6f65debcff97dbc68b87ab2b2086a4e7a9ddca7 Mon Sep 17 00:00:00 2001 From: Leigh Pointer Date: Sun, 28 Jan 2024 11:56:55 +0100 Subject: [PATCH 1/2] Menu theme fix #3680 Added white-space: nowrap; to the .app-menu .nav-item --- .../wwwroot/Themes/Oqtane.Themes.OqtaneTheme/Theme.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Oqtane.Server/wwwroot/Themes/Oqtane.Themes.OqtaneTheme/Theme.css b/Oqtane.Server/wwwroot/Themes/Oqtane.Themes.OqtaneTheme/Theme.css index 654247d49..b1536f7b6 100644 --- a/Oqtane.Server/wwwroot/Themes/Oqtane.Themes.OqtaneTheme/Theme.css +++ b/Oqtane.Server/wwwroot/Themes/Oqtane.Themes.OqtaneTheme/Theme.css @@ -50,6 +50,7 @@ body { .app-menu .nav-item { font-size: 0.9rem; padding-bottom: 0.5rem; + white-space: nowrap; } .app-menu .nav-item a { @@ -98,7 +99,7 @@ div.app-moduleactions a.dropdown-toggle, div.app-moduleactions div.dropdown-menu @media (max-width: 767px) { .app-menu { - width: 100% + width: 100% ; } .navbar { From 8bf29528e3945b7fc44bae59ccd3152b5aea788f Mon Sep 17 00:00:00 2001 From: Leigh Pointer Date: Mon, 29 Jan 2024 07:19:30 +0100 Subject: [PATCH 2/2] Updated Theme Template Template updated with white-space: nowrap; and corrected the app-menu class --- .../Client/wwwroot/Themes/[Owner].Theme.[Theme]/Theme.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Oqtane.Server/wwwroot/Themes/Templates/External/Client/wwwroot/Themes/[Owner].Theme.[Theme]/Theme.css b/Oqtane.Server/wwwroot/Themes/Templates/External/Client/wwwroot/Themes/[Owner].Theme.[Theme]/Theme.css index fa0bd479c..e78e77d17 100644 --- a/Oqtane.Server/wwwroot/Themes/Templates/External/Client/wwwroot/Themes/[Owner].Theme.[Theme]/Theme.css +++ b/Oqtane.Server/wwwroot/Themes/Templates/External/Client/wwwroot/Themes/[Owner].Theme.[Theme]/Theme.css @@ -1,4 +1,4 @@ -/* Oqtane Styles */ +/* Oqtane Styles */ body { padding-top: 7rem; @@ -48,6 +48,7 @@ body { .app-menu .nav-item { font-size: 0.9rem; padding-bottom: 0.5rem; + white-space: nowrap; } .app-menu .nav-item a { @@ -92,7 +93,7 @@ div.app-moduleactions a.dropdown-toggle, div.app-moduleactions div.dropdown-menu @media (max-width: 767px) { .app-menu { - width: 100% + width: 100%; } .navbar {