From 76af6ed35e951d6cacdcef627b925d7621e524f0 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Sat, 20 Apr 2019 12:09:20 +0800 Subject: [PATCH] Update global.less. --- src/components/global.less | 29 +++++++ src/views/attachment/AttachmentList.vue | 80 +++++-------------- .../components/AttachmentDetailDrawer.vue | 2 +- .../components/AttachmentDrawer.vue | 4 +- src/views/interface/ThemeList.vue | 26 ------ src/views/page/PageList.vue | 30 +------ src/views/system/BackupList.vue | 29 +------ src/views/system/OptionForm.vue | 27 ------- src/views/user/Profile.vue | 31 +------ 9 files changed, 54 insertions(+), 204 deletions(-) diff --git a/src/components/global.less b/src/components/global.less index eff95689..1b9e2de0 100644 --- a/src/components/global.less +++ b/src/components/global.less @@ -515,4 +515,33 @@ body { padding-bottom: 0!important; margin-bottom: 20px; } +} + +.ant-list-item{ + word-break: break-all; +} + +.card-container { + background: #f5f5f5; + & > .ant-tabs-card { + & > .ant-tabs-content { + margin-top: -16px; + & > .ant-tabs-tabpane { + background: #fff; + padding: 16px; + } + } + & > .ant-tabs-bar { + border-color: #fff; + .ant-tabs-tab { + border: none!important; + margin-right: 0!important; + background: transparent; + } + .ant-tabs-tab-active { + border-color: #fff; + background: #fff; + } + } + } } \ No newline at end of file diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue index 957b334a..61b3a8ac 100644 --- a/src/views/attachment/AttachmentList.vue +++ b/src/views/attachment/AttachmentList.vue @@ -1,30 +1,17 @@