From 1386b9fff21abc8f611c2a6c199581ea67efe315 Mon Sep 17 00:00:00 2001 From: Mr Ke <kelq@hugeinfo.com.cn> Date: Sun, 26 Apr 2020 16:40:55 +0800 Subject: [PATCH] 修复bug --- src/style/reset.scss | 69 +++++++++++++++++++++++++++++++++- 1 files changed, 67 insertions(+), 2 deletions(-) diff --git a/src/style/reset.scss b/src/style/reset.scss index 791988d..0758323 100644 --- a/src/style/reset.scss +++ b/src/style/reset.scss @@ -2,7 +2,72 @@ margin-bottom: 20px; } -.ant-layout-sider-trigger{ - background: #CC4E45; +.ant-layout-sider-trigger { + background: #cc4e45; } +.ant-layout-sider { + background-color: #fff !important; +} + +*::-webkit-scrollbar { + /*滚动条整体样式*/ + width: 5px; /*高宽分别对应横竖滚动条的尺寸*/ + height: 1px; +} +*::-webkit-scrollbar-thumb { + /*滚动条里面小方块*/ + border-radius: 2.5px; + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); + background: #848484; +} +*::-webkit-scrollbar-track { + /*滚动条里面轨道*/ + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); + border-radius: 2.5px; + background: #ededed; +} + +.ant-layout { + height: 100%; + display: flex; + flex-direction: column; +} + +.ant-layout-content { + flex: 1; + display: flex; + flex-direction: column; +} + +// 弹性盒 -- 纵向 +.flex-box-column { + display: flex; + flex-direction: column; + height: 100%; +} + +// 弹性盒 -- 纵向 +.flex-box-row { + display: flex; +} + +.flex-1 { + flex: 1; + overflow-y: auto; +} + +.align-center{ + align-items: center; +} + +.space-between { + justify-content: space-between; +} + +.ant-modal-body { + padding: 5px 8px 15px 8px; +} +.ant-tabs-bar { + margin-bottom: 5px; +} -- Gitblit v1.8.0