From ed12cd465254a6c3dfef2b1045fadae1f3b9b9bb Mon Sep 17 00:00:00 2001
From: ‘chensiAb’ <‘chenchenco03@163.com’>
Date: Thu, 06 Mar 2025 09:36:00 +0800
Subject: [PATCH] style:自定义导航-改为绝对定位于顶部,引用时需要显示的设置padding

---
 layout/navCustomBar/cNavCustomBar.scss |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/layout/navCustomBar/cNavCustomBar.scss b/layout/navCustomBar/cNavCustomBar.scss
index 85104d1..44b0be6 100644
--- a/layout/navCustomBar/cNavCustomBar.scss
+++ b/layout/navCustomBar/cNavCustomBar.scss
@@ -9,7 +9,10 @@
     width: 100%;
     display: flex;
     justify-content: center;
-    position: relative;
+    position: fixed;
+    top: 0;
+    left: 0;
+    background-color: #fff;
     .c-nav-icon {
         position: absolute;
         left: 0px;

--
Gitblit v1.9.1