From cef700a89b4b1222ce188a6141c552c71e80e0d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=A8=E9=9C=96=E9=93=83?= Date: Wed, 7 Jan 2026 23:25:34 +0800 Subject: [PATCH] =?UTF-8?q?style(css):=20=E7=A7=BB=E9=99=A4=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E6=8A=98=E5=8F=A0=E7=BB=84=E4=BB=B6=E7=9A=84=E8=BE=B9?= =?UTF-8?q?=E6=A1=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了导航折叠项的 border-block 样式 - 移除了导航折叠内容区域的 border-block 样式 - 移除了导航折叠内容区域的 border-top 样式 - 将导航折叠内容区域的边框设置为 border: 0 --- src/App.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/App.css b/src/App.css index e0d9b00..b71c538 100644 --- a/src/App.css +++ b/src/App.css @@ -84,6 +84,7 @@ transform: translateY(-10px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, border-color 0.3s ease; display: none; + border-block: 0; } .nav-collapse-item:hover .nav-collapse-content, @@ -101,6 +102,7 @@ width: 100%; text-align: left; box-sizing: border-box; + border-block: 0; } .nav-collapse-content .nav-link:last-child { @@ -237,13 +239,12 @@ left: 0; right: 0; background: white; - border-top: 1px solid #e5e5e5; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); z-index: 999; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; - border-block: 0; + border: 0; } .nav-collapse-content.show {