From 86ce127ce5b63f0e42fea59dc1fe695c00414672 Mon Sep 17 00:00:00 2001 From: FlintyLemming Date: Thu, 29 Jan 2026 11:42:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=20UI=20=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/hugo-theme-stack/assets/scss/partials/menu.scss | 2 ++ themes/hugo-theme-stack/assets/scss/partials/sidebar.scss | 1 + 2 files changed, 3 insertions(+) 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;