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

修改菜单样式(1447)

zhangxc пре 6 година
родитељ
комит
b1a88e48b6
3 измењених фајлова са 9 додато и 2 уклоњено
  1. 1 1
      src/components/common/HomePage.vue
  2. 7 1
      src/components/common/Menu.vue
  3. 1 0
      src/less/common.less

+ 1 - 1
src/components/common/HomePage.vue

@@ -132,7 +132,7 @@
     .user .logo {
         background: @userBase;
 
-    p {;
+    p {
         font-size: 16px;
         line-height: normal
     }

+ 7 - 1
src/components/common/Menu.vue

@@ -38,4 +38,10 @@
     methods: {
     }
   }
-</script>
+</script>
+
+<style lang="less" scoped>
+  .el-menu-vertical-demo {
+    width: 300px;
+  }
+</style>

+ 1 - 0
src/less/common.less

@@ -43,6 +43,7 @@
   height: 100%;
   .logo {
     width: 100%;
+    min-width: 300px;
     text-align: center;
     color: #fff;
     height: @header-height;