将这些设置应用于flex子项(并删除其他设置),然后删除
justify-content: space-evenly;
从
.wrapper
:
.wrapper>div {
display: flex;
flex-direction: column;
margin-right: 24px;
}
.wrapper {
display: flex;
flex-wrap: wrap;
margin-top: 54px;
margin-left: 64px;
max-width: 80%;
}
.wrapper>div {
display: flex;
flex-direction: column;
margin-right: 24px;
margin-top: 12px; /* whatever setting desired */
}
.wrapper>div span:first-child {
font-family: "Lato", sans-serif;
font-weight: bold;
color: #3c4142;
font-size: 12px;
display: block;
}
.wrapper>div span:nth-child(2) {
position: relative;
top: 6px;
font-family: "Lato", sans-serif;
font-size: 16px;
color: #a5aeb0;
text-transform: capitalize;
}
<div class="wrapper">
<div>
<span>
<Trans>Ref Code</Trans>
</span>
<span>001209832u1</span>
</div>
<div>
<span>
<Trans>State/Province</Trans>
</span>
<span>
<Trans>ONTARIO</Trans>
</span>
</div>
<div>
<span>
<Trans>Plan</Trans>
</span>
<span>
<Trans>FunPlan</Trans>
</span>
</div>
<div>
<span>
<Trans>Create on</Trans>
</span>
<span>2020-09-14</span>
</div>
<div>
<span>
<Trans>Next User Date</Trans>
</span>
<span>Expired</span>
</div>
<div>
<span>
<Trans>Status</Trans>
</span>
<span>
<Trans>Dead</Trans>
</span>
</div>
</div>