Skip to content

Commit

Permalink
fix(amis-ui): 容器组件增加默认的min-width和min-height
Browse files Browse the repository at this point in the history
  • Loading branch information
wibetter committed Jan 25, 2024
1 parent 03175e1 commit 3ab227d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/amis-ui/scss/components/_wrapper.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
.#{$ns}Wrapper,
.#{$ns}Container {
/* 添加默认的min-width和min-height可避免容器子元素异常溢出 */
min-width: 0;
min-height: 0;

&--xs {
padding: var(--gap-xs);
}
Expand Down

0 comments on commit 3ab227d

Please sign in to comment.