有没有办法把盒子排成一行
Is there a way to line up the boxes
我正在使用 React 语义 ui 并且我正在尝试将列中的框排列在一起。该段落推高了它们最终未对齐的框。创建另一行列会更好吗?
link
在 <Grid>
标签上添加自定义 Class
<Grid className="content-div">
并将此 css 添加到您的 style.css
.content-div {
width: 100%;
align-items: center;
}
它将与您的预期保持一致。
我正在使用 React 语义 ui 并且我正在尝试将列中的框排列在一起。该段落推高了它们最终未对齐的框。创建另一行列会更好吗? link
在 <Grid>
标签上添加自定义 Class
<Grid className="content-div">
并将此 css 添加到您的 style.css
.content-div {
width: 100%;
align-items: center;
}
它将与您的预期保持一致。