diff --git a/themes/hugo-theme-stack/assets/scss/partials/menu.scss b/themes/hugo-theme-stack/assets/scss/partials/menu.scss index 5b6be17..e7b1fae 100644 --- a/themes/hugo-theme-stack/assets/scss/partials/menu.scss +++ b/themes/hugo-theme-stack/assets/scss/partials/menu.scss @@ -129,6 +129,7 @@ /* Menu style */ #main-menu { list-style: none; + overflow-x: hidden; overflow-y: auto; flex-grow: 1; font-size: 1.4rem; @@ -188,6 +189,7 @@ align-items: center; color: var(--body-text-color); gap: var(--menu-icon-separation); + white-space: nowrap; } span { diff --git a/themes/hugo-theme-stack/assets/scss/partials/sidebar.scss b/themes/hugo-theme-stack/assets/scss/partials/sidebar.scss index a6a77c5..0843108 100644 --- a/themes/hugo-theme-stack/assets/scss/partials/sidebar.scss +++ b/themes/hugo-theme-stack/assets/scss/partials/sidebar.scss @@ -174,6 +174,7 @@ align-items: center; cursor: pointer; gap: var(--menu-icon-separation); + white-space: nowrap; .icon-tabler-toggle-right { display: none;