From 84e806945ef8982508a79e0b62a7bcb0881b108c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 30 十二月 2019 10:09:26 +0800 Subject: [PATCH] 2019-12-30 --- src/templates/comtableconfig/index.scss | 42 +++++++++++++++++++++++++++++++++--------- 1 files changed, 33 insertions(+), 9 deletions(-) diff --git a/src/templates/comtableconfig/index.scss b/src/templates/comtableconfig/index.scss index d6730ff..3cd5e5a 100644 --- a/src/templates/comtableconfig/index.scss +++ b/src/templates/comtableconfig/index.scss @@ -126,7 +126,7 @@ position: relative; width: calc(100vw - 235px); height: 100%; - overflow-y: hidden; + // overflow-y: hidden; background: #ffffff; .ant-switch.big { min-width: 60px; @@ -156,7 +156,7 @@ } .ant-card-body { position: relative; - padding: 0; + padding: 0 0 40px; .search-list { padding: 1px 24px 20px; @@ -409,18 +409,38 @@ } } } - > .anticon-setting { + > .anticon-question-circle { position: absolute; - font-size: 18px; - right: 15px; - top: 30px; + left: 5px; + top: 20px; + } + > .anticon-plus { + position: absolute; + font-size: 24px; + right: 25px; + top: 50px; + z-index: 1; + cursor: pointer; + } + > .anticon-delete { + position: absolute; + font-size: 24px; + right: 25px; + top: 50px; + z-index: 1; + cursor: pointer; + } + .ant-tabs-nav-container-scrolling { + margin-right: 50px; } } > .anticon-setting { position: absolute; font-size: 18px; - right: 15px; + right: 5px; top: 10px; + padding: 10px; + z-index: 1; } } .anticon-question-circle { @@ -430,8 +450,8 @@ top: 5px; } } - .setting:hover { - overflow-y: auto; + .setting { + overflow-y: scroll; } .setting::-webkit-scrollbar { width: 7px; @@ -440,6 +460,7 @@ border-radius: 5px; box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); background: rgba(0, 0, 0, 0.13); + display: none; } .setting::-webkit-scrollbar-track { box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); @@ -447,6 +468,9 @@ border: 1px solid rgba(0, 0, 0, 0.07); background: rgba(0, 0, 0, 0); } + .setting:hover::-webkit-scrollbar-thumb { + display: block; + } .ant-spin { position: absolute; margin-left: calc(50vw - 22px); -- Gitblit v1.8.0