From 656ea3139db54b8dc9a29b8cb239d0f0df9a6c05 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 27 六月 2023 18:19:42 +0800 Subject: [PATCH] 2023-06-27 --- src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss | 31 ++++++++++++++++++++++++++++--- 1 files changed, 28 insertions(+), 3 deletions(-) diff --git a/src/menu/components/chart/antv-X6/nodeupdate/index.scss b/src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss similarity index 64% rename from src/menu/components/chart/antv-X6/nodeupdate/index.scss rename to src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss index 4434358..79e5b28 100644 --- a/src/menu/components/chart/antv-X6/nodeupdate/index.scss +++ b/src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss @@ -1,5 +1,6 @@ .node-edit-form { padding-top: 10px; + overflow: hidden; .split-line { display: block; border-bottom: 1px solid #d9d9d9; @@ -28,6 +29,12 @@ .ant-form-item-control { line-height: 24px; } + .ant-form-explain { + font-size: 12px; + min-height: 18px; + color: #c8c8c8; + margin-top: 1px; + } .ant-input { height: 24px; padding: 0px 4px; @@ -49,11 +56,11 @@ } .color-sketch-block { - height: 22px; + height: 20px; margin-top: 2px; .color-sketch-block-box { - width: 22px; - height: 22px; + width: 20px; + height: 20px; } .color-sketch-value { display: none; @@ -64,4 +71,22 @@ } } } +} +.node-edit-form-wrap { + height: calc(100% - 32px); + overflow-y: auto; +} +.node-edit-form-wrap::-webkit-scrollbar { + width: 5px; +} +.node-edit-form-wrap::-webkit-scrollbar-thumb { + border-radius: 5px; + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0.07); +} +.node-edit-form-wrap::-webkit-scrollbar-track { + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); + border-radius: 3px; + border: 1px solid rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0); } \ No newline at end of file -- Gitblit v1.8.0