Skip to content

Commit

Permalink
feat: refactor asany-editor.less file
Browse files Browse the repository at this point in the history
  • Loading branch information
limaofeng committed Mar 7, 2024
1 parent 091f058 commit 563edf3
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions src/Designer/style/asany-editor.less
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -24,6 +27,7 @@ p {

&-scena {
&.mini-toolbar {

.box,
.ruler.horizontal,
.ruler.vertical {
Expand Down Expand Up @@ -120,7 +124,7 @@ p {
}

&-sidebar {
&.collapsed > .sidebar-resizer > .handle {
&.collapsed>.sidebar-resizer>.handle {
z-index: 15;
}

Expand Down Expand Up @@ -148,12 +152,12 @@ p {

&.minimizable {
&.direction-x {
> .handle {
>.handle {
right: -5px;
}
}

> .tool-panel-content {
>.tool-panel-content {
opacity: 0;
}
}
Expand Down Expand Up @@ -243,7 +247,7 @@ p {
-moz-osx-font-smoothing: grayscale;
}

.svg-icon > * {
.svg-icon>* {
line-height: 1;
}

Expand Down

0 comments on commit 563edf3

Please sign in to comment.