Skip to content

Commit

Permalink
style: fix --workspace-left-area-width style bug
Browse files Browse the repository at this point in the history
  • Loading branch information
liujuping committed Nov 30, 2023
1 parent 19bf6ad commit ae5ece0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs/guide/expand/editor/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ sidebar_position: 9
- `--workspace-sub-top-area-margin`: 应用级二级 topArea margin
- `--workspace-sub-top-area-padding`: 应用级二级 topArea padding
- `--workspace-left-area-width`: 应用级 leftArea width
- `--left-area-width`: leftArea width



Expand Down
4 changes: 4 additions & 0 deletions packages/editor-skeleton/src/layouts/workbench.less
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@ body {
min-height: 0;
position: relative;

> .lc-left-float-pane {
left: calc(var(--workspace-left-area-width, var(--left-area-width)) + 1px);
}

.lc-workspace-workbench-center {
flex: 1;
display: flex;
Expand Down

0 comments on commit ae5ece0

Please sign in to comment.