Sendya 5 жил өмнө
parent
commit
1ab3d6813b

+ 3 - 1
src/components/GlobalHeader/GlobalHeader.vue

@@ -107,9 +107,11 @@ export default {
 </script>
 
 <style lang="less">
+@import '../index.less';
+
 .header-animat{
   position: relative;
-  z-index: 2;
+  z-index: @ant-global-header-zindex;
 }
 .showHeader-enter-active {
   transition: all 0.25s ease;

+ 2 - 1
src/components/index.less

@@ -1,4 +1,5 @@
 @import "~ant-design-vue/lib/style/index";
 
 // The prefix to use on all css classes from ant-pro.
-@ant-pro-prefix             : ant-pro;
+@ant-pro-prefix             : ant-pro;
+@ant-global-header-zindex   : 105;