diff --git a/src/components/global.less b/src/components/global.less index e05366060..eff95689a 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 cbb181470..725086e2c 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 972e3e9ca..d36f4d677 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; -} diff --git a/src/views/page/PageEdit.vue b/src/views/page/PageEdit.vue index c0506978d..443e28059 100644 --- a/src/views/page/PageEdit.vue +++ b/src/views/page/PageEdit.vue @@ -182,11 +182,7 @@ export default { diff --git a/src/views/post/PostEdit.vue b/src/views/post/PostEdit.vue index 46af665c3..1bf5fafe3 100644 --- a/src/views/post/PostEdit.vue +++ b/src/views/post/PostEdit.vue @@ -304,15 +304,7 @@ export default { diff --git a/src/views/system/OptionForm.vue b/src/views/system/OptionForm.vue index 36834a5bd..f030625c9 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; -} diff --git a/src/views/user/Profile.vue b/src/views/user/Profile.vue index b1cd36fbc..a650d72ac 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; -}