浏览代码

update navbar

SyuanYu 2 年之前
父节点
当前提交
a64222f330
共有 3 个文件被更改,包括 12 次插入0 次删除
  1. 6 0
      hhh_index/css/list-style.css
  2. 0 0
      hhh_index/css/list-style.css.map
  3. 6 0
      hhh_index/css/list-style.scss

+ 6 - 0
hhh_index/css/list-style.css

@@ -622,6 +622,12 @@ body {
   width: 20px;
 }
 
+#navbar {
+  position: sticky;
+  top: 0;
+  z-index: 1000;
+}
+
 .navbar {
   box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
   -webkit-box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);

文件差异内容过多而无法显示
+ 0 - 0
hhh_index/css/list-style.css.map


+ 6 - 0
hhh_index/css/list-style.scss

@@ -784,6 +784,12 @@ body {
   }
 }
 
+#navbar {
+  position: sticky;
+  top: 0;
+  z-index: 1000;
+}
+
 .navbar {
   box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
   -webkit-box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),

部分文件因为文件数量过多而无法显示