标签: flexbox cq5
I set div with style flex-wrap: wrap, but in edit mode, the two parsys don't side by side, but I modify wrap to nowrap, them display side by side.
But when I add this style in html page, the style is work, but it doesn't work as expected, then I modify nowrap to wrap, it doesn't work as the first image, finally, I modify wrap to nowrap again, then it works as expected.
答案 0 :(得分:0)
尝试将容器设置为
display: inline-block;
当我需要进行2列显示时,我使用这种方法,其中每列包含一个parsys,听起来类似于你想要做的。