Преглед изворни кода

fix: 顶部样式问题修复

johnsen пре 9 месеци
родитељ
комит
dbebb4cc8e
2 измењених фајлова са 2 додато и 6 уклоњено
  1. 1 0
      src/assets/styles/theme/theme-base.scss
  2. 1 6
      src/layout/header-aside/layout.vue

+ 1 - 0
src/assets/styles/theme/theme-base.scss

@@ -28,6 +28,7 @@
     @extend %full;
     .ibps-theme-header {
       height: 50px;
+      box-shadow: rgba(0, 0, 0, 0.12) 1px 4px 6px, rgba(155, 155, 0, 0.04) 0px 0px 5px;
       .ibps-theme-header-menu {
         overflow: hidden;
         &.is-scrollable {

+ 1 - 6
src/layout/header-aside/layout.vue

@@ -25,12 +25,7 @@
       <div
         :style="{ opacity: searchActive ? 0.5 : 1 }"
         class="ibps-theme-header"
-        style="
-          box-shadow:
-            1px 4px 6px rgba(0, 0, 0, 0.12),
-            0 0 5px rgba(155, 155, 0, 0.04);
-          margin-bottom: 5px;
-        "
+        style=" margin-bottom: 5px;"
         flex-box="0"
         flex
       >