Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -72,6 +72,7 @@ sidebar_position: 9
- `--workspace-sub-top-area-height`: 应用级二级 topArea 高度
- `--workspace-sub-top-area-margin`: 应用级二级 topArea margin
- `--workspace-sub-top-area-padding`: 应用级二级 topArea padding
- `--workspace-left-area-width`: 应用级 leftArea width

### 生态使用主题色变量

Expand Down
3 changes: 2 additions & 1 deletion packages/editor-skeleton/src/layouts/workbench.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
--popup-border-radius: @popup-border-radius;

--left-area-width: 48px;
--workspace-left-area-width: 48px;
--right-area-width: 300px;
--top-area-height: 48px;
--toolbar-height: 36px;
Expand Down Expand Up @@ -273,7 +274,7 @@ body {
}
.lc-left-area, .lc-workspace-left-area {
height: 100%;
width: var(--left-area-width);
width: var(--workspace-left-area-width, --left-area-width);
display: none;
flex-shrink: 0;
flex-direction: column;
Expand Down