Skip to content

Commit 1a328bd

Browse files
liujupingJackLian
authored andcommitted
style: fix --workspace-left-area-width style bug
1 parent 19bf6ad commit 1a328bd

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

docs/docs/guide/expand/editor/theme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ sidebar_position: 9
112112
- `--workspace-sub-top-area-margin`: 应用级二级 topArea margin
113113
- `--workspace-sub-top-area-padding`: 应用级二级 topArea padding
114114
- `--workspace-left-area-width`: 应用级 leftArea width
115+
- `--left-area-width`: leftArea width
115116

116117

117118

packages/editor-skeleton/src/layouts/workbench.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,10 @@ body {
443443
min-height: 0;
444444
position: relative;
445445

446+
> .lc-left-float-pane {
447+
left: calc(var(--workspace-left-area-width, var(--left-area-width)) + 1px);
448+
}
449+
446450
.lc-workspace-workbench-center {
447451
flex: 1;
448452
display: flex;

0 commit comments

Comments
 (0)