From 0de207ebed200dffca41b8c974d1394cf328b03e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 23 九月 2020 09:29:02 +0800 Subject: [PATCH] 2020-09-23 --- src/menu/menushell/index.scss | 34 +++++++++++++++++++++------------- 1 files changed, 21 insertions(+), 13 deletions(-) diff --git a/src/menu/menushell/index.scss b/src/menu/menushell/index.scss index 2c67aec..b6d9e93 100644 --- a/src/menu/menushell/index.scss +++ b/src/menu/menushell/index.scss @@ -1,9 +1,26 @@ .menu-shell-inner { min-height: calc(100vh - 150px); - margin: -8px; + padding: 16px; + width: 100%; + background-size: 100%; - >.ant-col { - padding: 8px; + >.ant-row { + margin-left: -4px; + margin-right: -4px; + margin-top: -4px; + >.ant-col { + padding: 8px; + } + > .mk-component-card:hover { + > .remove-component { + opacity: 1; + } + > div { + > .model-datasource > .anticon-setting, > .model-menu-tabs-setting > .anticon-setting { + opacity: 1; + } + } + } } .anticon { cursor: unset; @@ -24,16 +41,7 @@ transition: opacity 0.2s; } } - > .mk-component-card:hover { - > .remove-component { - opacity: 1; - } - > div { - > .model-datasource > .anticon-setting, > .model-menu-tabs-setting > .anticon-setting { - opacity: 1; - } - } - } + >.ant-empty { padding-top: 150px; } -- Gitblit v1.8.0