From 5c71d0242286a55efba8f201ebc97f770756c577 Mon Sep 17 00:00:00 2001 From: yvling Date: Thu, 26 Dec 2024 00:33:21 +0800 Subject: [PATCH] fix: Fixed the problem of misalignment between menu item icons and text --- templates/default/assets/css/global.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/templates/default/assets/css/global.css b/templates/default/assets/css/global.css index 0441f55..691de99 100644 --- a/templates/default/assets/css/global.css +++ b/templates/default/assets/css/global.css @@ -123,6 +123,16 @@ a:hover { color: var(--primary-color); } +.main-menu-item { + display: inline-block; + white-space: nowrap; +} + +.main-menu-item i, +.main-menu-item a { + display: inline-block; +} + .main-menu-link { margin-right: 10px; }