We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc223de + 49eb3d7 commit 7063746Copy full SHA for 7063746
packages/amis-editor-core/scss/_variables.scss
@@ -46,3 +46,6 @@ $default-bg-color: #f7f7f9; // 默认背景颜色
46
--button-size-md-font-size: 12px;
47
--button-size-default-font-size: 12px;
48
}
49
+
50
+// 空容器的占位最小高度
51
+$Editor-placehoder-height: 34px;
packages/amis-editor-core/scss/editor.scss
@@ -1314,7 +1314,7 @@
1314
1315
&.layout-content {
1316
height: 100%;
1317
- min-height: 30px;
+ min-height: $Editor-placehoder-height;
1318
1319
1320
&.fill-placeholder {
@@ -1337,7 +1337,7 @@
1337
1338
[data-region] {
1339
position: relative;
1340
- min-height: 34px;
1341
1342
&:empty {
1343
min-width: 20px;
0 commit comments