-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Space 换行间距问题 #6840
Comments
因为老的手机浏览器不支持 gap css,这个是妥协的产物…… |
可以的,需要检测一下是否有元素,如果有的话就加一个。方案都给,顺道来个 PR?~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version of antd-mobile
5.39.0
Description
由于
.adm-space-item
使用的是margin-right
,在有换行的情况下,前面行的尾部会产生多余留白。部分情况下会导致大量留白。
是否考虑使用
.adm-space-horizontal
设置gap: var(--gap-horizontal)
,效果如下:The text was updated successfully, but these errors were encountered: