Skip to content

Commit

Permalink
fix(editor): 修正css sass变量
Browse files Browse the repository at this point in the history
遇到浏览器报错
  • Loading branch information
isensen authored and jia000 committed Jul 26, 2022
1 parent 1f6c59e commit 940b08b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/editor/src/theme/framework.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
justify-content: center;
align-items: center;
flex-direction: column;
height: calc(100% - $--page-bar-height);
height: calc(100% - #{$--page-bar-height});
}

&-content {
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/theme/stage.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.m-editor-stage {
position: relative;
width: 100%;
height: calc(100% - $--page-bar-height);
height: calc(100% - #{$--page-bar-height});
overflow: hidden;
display: flex;
justify-content: center;
Expand Down

0 comments on commit 940b08b

Please sign in to comment.