diff --git a/src/pages/WelcomePage.scss b/src/pages/WelcomePage.scss index 4f6a80a..cf29bea 100644 --- a/src/pages/WelcomePage.scss +++ b/src/pages/WelcomePage.scss @@ -201,6 +201,7 @@ padding: 12px 16px; margin-left: -4px; margin-right: -4px; + overflow: hidden; // 遮挡流程线 &::before { @@ -212,7 +213,7 @@ width: 20px; background: var(--primary); border-radius: 12px 0 0 12px; - z-index: -1; + z-index: 0; } } @@ -234,6 +235,8 @@ flex-shrink: 0; margin-top: 2px; transition: all 0.3s ease; + position: relative; + z-index: 1; [data-mode="dark"] .welcome-sidebar & { border-color: rgba(255, 255, 255, 0.2); // 稍微调亮边框 @@ -273,6 +276,8 @@ display: flex; flex-direction: column; transition: transform 0.3s ease; + position: relative; + z-index: 1; } .nav-title {