diff --git a/packages/amis-ui/scss/components/_card.scss b/packages/amis-ui/scss/components/_card.scss index 9eceaf7f9..5cafe43ae 100644 --- a/packages/amis-ui/scss/components/_card.scss +++ b/packages/amis-ui/scss/components/_card.scss @@ -118,6 +118,19 @@ min-width: 0; text-overflow: ellipsis; overflow: hidden; + @media (max-width: 767px) { + .#{$ns}Form-item { + padding-top: 0; + padding-bottom: 0; + &:after { + display: none; + } + .#{$ns}Form-static { + padding-top: 0; + padding-bottom: 0; + } + } + } } &-fieldLabel {