diff --git a/src/components/global.less b/src/components/global.less index 7d0c444d9..273047566 100644 --- a/src/components/global.less +++ b/src/components/global.less @@ -504,4 +504,7 @@ body { } } } + .ant-card-body{ + padding: 16px; + } } \ No newline at end of file diff --git a/src/views/post/PostEdit.vue b/src/views/post/PostEdit.vue index 895d3851a..3ee2d5360 100644 --- a/src/views/post/PostEdit.vue +++ b/src/views/post/PostEdit.vue @@ -23,10 +23,27 @@ - + + + + + + + + + + + + + 保存 + + + - + + example + @@ -42,6 +59,11 @@ export default { }, data() { return { + wrapperCol: { + xl: { span: 24 }, + sm: { span: 24 }, + xs: { span: 24 } + }, value: 'Hello World' } } @@ -56,4 +78,12 @@ export default { .v-note-wrapper { z-index: 1000; } + +.ant-card { + margin-bottom: 16px; +} + +.ant-form-vertical .ant-form-item { + padding-bottom: 0; +}