From 5cfcb987e35ed66b6fb0c492433eac43b0f6a98e Mon Sep 17 00:00:00 2001
From: ruibaby <i@ryanc.cc>
Date: Sat, 20 Apr 2019 00:51:37 +0800
Subject: [PATCH] Update global.less.

---
 src/components/global.less                           | 11 +++++++++--
 src/views/attachment/components/AttachmentDrawer.vue |  5 +----
 src/views/interface/ThemeList.vue                    |  3 ---
 src/views/page/PageEdit.vue                          | 10 +---------
 src/views/page/PageList.vue                          |  3 ---
 src/views/post/PostEdit.vue                          | 10 +---------
 src/views/system/BackupList.vue                      |  3 ---
 src/views/system/OptionForm.vue                      |  3 ---
 src/views/user/Profile.vue                           |  4 ----
 9 files changed, 12 insertions(+), 40 deletions(-)

diff --git a/src/components/global.less b/src/components/global.less
index e0536606..eff95689 100644
--- a/src/components/global.less
+++ b/src/components/global.less
@@ -1,7 +1,7 @@
 @import './index.less';
 
 body {
-  overflow-y: none;
+  overflow-y: scroll;
   &.colorWeak {
     filter: invert(80%);
   }
@@ -453,7 +453,7 @@ body {
 
     .ant-form-item {
       display: flex;
-      margin-bottom: 24px;
+      margin-bottom: 20px;
       margin-right: 0;
 
       .ant-form-item-control-wrapper {
@@ -508,4 +508,11 @@ body {
   .ant-card-body{
     padding: 24px!important;
   }
+}
+
+.ant-form{
+  .ant-form-item{
+    padding-bottom: 0!important;
+    margin-bottom: 20px;
+  }
 }
\ No newline at end of file
diff --git a/src/views/attachment/components/AttachmentDrawer.vue b/src/views/attachment/components/AttachmentDrawer.vue
index cbb18147..725086e2 100644
--- a/src/views/attachment/components/AttachmentDrawer.vue
+++ b/src/views/attachment/components/AttachmentDrawer.vue
@@ -191,10 +191,6 @@ export default {
   border-radius: 0px 0px 4px 4px;
 }
 
-.ant-form-vertical .ant-form-item {
-  padding-bottom: 0;
-}
-
 .post-thum .img {
   width: 100%;
   cursor: pointer;
@@ -207,6 +203,7 @@ export default {
   padding-bottom: 28%;
   overflow: hidden;
   float: left;
+  cursor: pointer;
 }
 
 .attach-item > img {
diff --git a/src/views/interface/ThemeList.vue b/src/views/interface/ThemeList.vue
index 972e3e9c..d36f4d67 100644
--- a/src/views/interface/ThemeList.vue
+++ b/src/views/interface/ThemeList.vue
@@ -420,7 +420,4 @@ export default {
   border-color: #fff;
   background: #fff;
 }
-.ant-form-vertical .ant-form-item {
-  padding-bottom: 0;
-}
 </style>
diff --git a/src/views/page/PageEdit.vue b/src/views/page/PageEdit.vue
index c0506978..443e2805 100644
--- a/src/views/page/PageEdit.vue
+++ b/src/views/page/PageEdit.vue
@@ -182,11 +182,7 @@ export default {
 <style scoped>
 .v-note-wrapper {
   z-index: 1000;
-  min-height: 540px;
-}
-
-.ant-form-vertical .ant-form-item {
-  padding-bottom: 0;
+  min-height: 580px;
 }
 
 .postControl {
@@ -201,10 +197,6 @@ export default {
   border-radius: 0px 0px 4px 4px;
 }
 
-.ant-form-vertical .ant-form-item {
-  padding-bottom: 0;
-}
-
 .post-thum .img {
   width: 100%;
 }
diff --git a/src/views/page/PageList.vue b/src/views/page/PageList.vue
index 6353ef94..644c31c0 100644
--- a/src/views/page/PageList.vue
+++ b/src/views/page/PageList.vue
@@ -135,7 +135,4 @@ export default {
   border-color: #fff;
   background: #fff;
 }
-.ant-form-vertical .ant-form-item {
-  padding-bottom: 0;
-}
 </style>
diff --git a/src/views/post/PostEdit.vue b/src/views/post/PostEdit.vue
index 46af665c..1bf5fafe 100644
--- a/src/views/post/PostEdit.vue
+++ b/src/views/post/PostEdit.vue
@@ -304,15 +304,7 @@ export default {
 <style scoped>
 .v-note-wrapper {
   z-index: 1000;
-  min-height: 540px;
-}
-
-.ant-form-vertical .ant-form-item {
-  padding-bottom: 0;
-}
-
-.ant-form-vertical .ant-form-item {
-  padding-bottom: 0;
+  min-height: 580px;
 }
 
 .post-thum .img {
diff --git a/src/views/system/BackupList.vue b/src/views/system/BackupList.vue
index a7bc6c09..90388eb0 100644
--- a/src/views/system/BackupList.vue
+++ b/src/views/system/BackupList.vue
@@ -156,7 +156,4 @@ export default {
   border-color: #fff;
   background: #fff;
 }
-.ant-form-vertical .ant-form-item {
-  padding-bottom: 0;
-}
 </style>
diff --git a/src/views/system/OptionForm.vue b/src/views/system/OptionForm.vue
index 36834a5b..f030625c 100644
--- a/src/views/system/OptionForm.vue
+++ b/src/views/system/OptionForm.vue
@@ -453,7 +453,4 @@ export default {
   border-color: #fff;
   background: #fff;
 }
-.ant-form-vertical .ant-form-item {
-  padding-bottom: 0;
-}
 </style>
diff --git a/src/views/user/Profile.vue b/src/views/user/Profile.vue
index b1cd36fb..a650d72a 100644
--- a/src/views/user/Profile.vue
+++ b/src/views/user/Profile.vue
@@ -238,8 +238,4 @@ export default {
   border-color: #fff;
   background: #fff;
 }
-
-.ant-form-vertical .ant-form-item {
-  padding-bottom: 0;
-}
 </style>