styles: add flex, justify body

This commit is contained in:
unknown 2021-09-01 09:25:31 +07:00
parent a5f6cbbf24
commit b944736868
2 changed files with 22 additions and 18 deletions

View File

@ -1,8 +1,10 @@
.wrapper{
@apply flex justify-center;
}
.deliveryAndPolicyContentWrapper{
max-width: 80.4rem;
min-height: 4rem;
margin-left: 31.8rem;
margin-right: 31.8rem;
}
.titleWrapper{

View File

@ -16,8 +16,9 @@ const CONTENT = [
const DeliveryAndPolicyContent = ( { title, date, content } : DeliveryAndPolicyContentProps) => {
return (
<section className={s.deliveryAndPolicyContentWrapper}>
<section className={s.wrapper}>
<div className={s.deliveryAndPolicyContentWrapper}>
<div className={s.titleWrapper}>
<div className={s.date}>
<div className={s.update}>LASTEST UPDATED:&nbsp;</div>
@ -35,6 +36,7 @@ const DeliveryAndPolicyContent = ( { title, date, content } : DeliveryAndPolicyC
<CollapseCommon title="This is a subtitle" content={CONTENT} />
<CollapseCommon title="This is a subtitle" content={CONTENT} />
<CollapseCommon title="This is a subtitle" content={CONTENT} />
</div>
</section>
)