Browse Source

fix: fix some style

xiaoxian521 4 years ago
parent
commit
338bead481
2 changed files with 3 additions and 11 deletions
  1. 2 10
      src/layout/components/tag/index.vue
  2. 1 1
      src/views/components/split-pane/index.vue

+ 2 - 10
src/layout/components/tag/index.vue

@@ -50,7 +50,7 @@ export default {
 <style lang="scss" scoped>
 .tags-view {
   width: 100%;
-  height: 38px;
+  height: 34px;
   font-size: 14px;
   display: flex;
   align-items: center;
@@ -84,15 +84,7 @@ export default {
   position: relative;
   overflow: hidden;
   width: 100%;
-  :deep(.el-scrollbar__bar) {
-    bottom: 0px;
-  }
-  :deep(.el-scrollbar__wrap) {
-    height: 49px;
-  }
-  :deep(.el-scrollbar__wrap::-webkit-scrollbar) {
-    display: none;
-  }
+   box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
 }
 .active {
   background: #409EFF;

+ 1 - 1
src/views/components/split-pane/index.vue

@@ -59,7 +59,7 @@ $H: 80vh;
 .split-pane {
   width: 98%;
   height: $H;
-  margin-top: 20px;
+  margin-top: 5px;
   text-align: center;
   font-size: 50px;
   color: #fff;