From 5d9fdbdaf6e26ee6c3da511d93fab8be61662c64 Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Thu, 26 Jun 2025 18:36:54 +0800 Subject: [PATCH] fix:修改顶部标题和首页待合并隐藏 --- src/components/NavBarPage/index.less | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/components/NavBarPage/index.less b/src/components/NavBarPage/index.less index faedc9b..c784e1a 100644 --- a/src/components/NavBarPage/index.less +++ b/src/components/NavBarPage/index.less @@ -33,15 +33,13 @@ position: absolute; top: 0; height: @navBarHeight; - left: 50px; - // right: 50px; - min-width: 270px; - text-align: center; - font-size: 18px; - line-height: @navBarHeight; - white-space: nowrap; /* 防止文字换行 */ - overflow: hidden; /* 隐藏超出的部分 */ - text-overflow: ellipsis; /* 显示省略号 */ + width: 100%; + text-align: center; + font-size: 18px; + line-height: 44px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } } -- Gitblit v1.8.0