From 9e43dfdf69544eb93265386ae65c59cf09a96283 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Sat, 31 Aug 2019 23:18:07 +0800 Subject: [PATCH] Support view when theme setting. --- src/components/global.less | 12 --- src/views/attachment/AttachmentList.vue | 13 ++- src/views/comment/components/CommentTab.vue | 5 +- src/views/interface/MenuList.vue | 10 ++- src/views/interface/ThemeEdit.vue | 4 +- .../interface/components/ThemeSetting.vue | 83 +++++++++++++++++-- src/views/post/CategoryList.vue | 4 +- src/views/post/PostList.vue | 2 +- src/views/post/TagList.vue | 4 +- src/views/post/components/PostSetting.vue | 1 + src/views/sheet/internal/JournalList.vue | 2 +- src/views/sheet/internal/LinkList.vue | 4 +- src/views/sheet/internal/PhotoList.vue | 2 +- src/views/system/About.vue | 8 +- src/views/user/Profile.vue | 2 +- 15 files changed, 119 insertions(+), 37 deletions(-) diff --git a/src/components/global.less b/src/components/global.less index 1c19c278..b58e56f2 100644 --- a/src/components/global.less +++ b/src/components/global.less @@ -541,18 +541,6 @@ body { } } -.ant-card-wider-padding { - .ant-card-body { - padding: 16px !important; - } -} - -.comment-tab-wrapper { - .ant-card-body { - padding: 0 !important; - } -} - .ant-form { .ant-form-item { padding-bottom: 0 !important; diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue index 2e61e065..cec3b8e6 100644 --- a/src/views/attachment/AttachmentList.vue +++ b/src/views/attachment/AttachmentList.vue @@ -9,7 +9,10 @@ :span="24" class="search-box" > - +
@@ -100,7 +103,10 @@ >
当前格式不支持预览 - +
- +
diff --git a/src/views/interface/MenuList.vue b/src/views/interface/MenuList.vue index b1f9663a..67227382 100644 --- a/src/views/interface/MenuList.vue +++ b/src/views/interface/MenuList.vue @@ -9,7 +9,10 @@ :xs="24" :style="{ 'padding-bottom': '12px' }" > - + - + - + - +