From 563edf3ba15029e7169ed4d38591db2475171e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=8C=82=E5=B3=B0?= Date: Thu, 7 Mar 2024 11:24:49 +0800 Subject: [PATCH] feat: refactor asany-editor.less file --- src/Designer/style/asany-editor.less | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/Designer/style/asany-editor.less b/src/Designer/style/asany-editor.less index 47fdef9..8f01ce8 100644 --- a/src/Designer/style/asany-editor.less +++ b/src/Designer/style/asany-editor.less @@ -1,11 +1,14 @@ -ul, -h1, -p { - margin: 0; - padding: 0; +.asany-editor { + ul, + h1, + p { + margin: 0; + padding: 0; + } } .asany-editor { + .sidebar-resizer, .asany-editor-scena { opacity: 1; @@ -24,6 +27,7 @@ p { &-scena { &.mini-toolbar { + .box, .ruler.horizontal, .ruler.vertical { @@ -120,7 +124,7 @@ p { } &-sidebar { - &.collapsed > .sidebar-resizer > .handle { + &.collapsed>.sidebar-resizer>.handle { z-index: 15; } @@ -148,12 +152,12 @@ p { &.minimizable { &.direction-x { - > .handle { + >.handle { right: -5px; } } - > .tool-panel-content { + >.tool-panel-content { opacity: 0; } } @@ -243,7 +247,7 @@ p { -moz-osx-font-smoothing: grayscale; } - .svg-icon > * { + .svg-icon>* { line-height: 1; }