为什么我的容器在垂直方向一直有空隙?想用margin-top:10px 减小空隙但是没用Why does my container always have gaps in the vertical direction? I want to use margin-top: 10px to reduce the gap but it's useless
为什么我的容器在垂直方向一直有空隙?想用margin-top:10px 减小空隙但是没用回答:
贴xml代码上来
我怀疑你用了display:flex 没有给层级加个自动高度,或者是高度冲突造成的,最好工具看下渲染后的代码!
父级设置了justify-content: space-between;
属性?