mirror of
https://github.com/vercel/commerce.git
synced 2025-07-15 17:01:22 +00:00
styles: add flex, justify body
This commit is contained in:
parent
a5f6cbbf24
commit
b944736868
@ -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{
|
||||
|
@ -16,25 +16,27 @@ const CONTENT = [
|
||||
|
||||
const DeliveryAndPolicyContent = ( { title, date, content } : DeliveryAndPolicyContentProps) => {
|
||||
return (
|
||||
<section className={s.deliveryAndPolicyContentWrapper}>
|
||||
<section className={s.wrapper}>
|
||||
|
||||
<div className={s.titleWrapper}>
|
||||
<div className={s.date}>
|
||||
<div className={s.update}>LASTEST UPDATED: </div>
|
||||
<DateTime date={date} />
|
||||
<div className={s.deliveryAndPolicyContentWrapper}>
|
||||
<div className={s.titleWrapper}>
|
||||
<div className={s.date}>
|
||||
<div className={s.update}>LASTEST UPDATED: </div>
|
||||
<DateTime date={date} />
|
||||
</div>
|
||||
<HeadingCommon>{title}</HeadingCommon>
|
||||
</div>
|
||||
<HeadingCommon>{title}</HeadingCommon>
|
||||
<div className={s.contentContainer}>
|
||||
{
|
||||
content.map(item => <CollapseContent content={item} />)
|
||||
}
|
||||
</div>
|
||||
<CollapseCommon title="This is a subtitle" content={CONTENT} />
|
||||
<CollapseCommon title="This is a subtitle" content={CONTENT} />
|
||||
<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>
|
||||
<div className={s.contentContainer}>
|
||||
{
|
||||
content.map(item => <CollapseContent content={item} />)
|
||||
}
|
||||
</div>
|
||||
<CollapseCommon title="This is a subtitle" content={CONTENT} />
|
||||
<CollapseCommon title="This is a subtitle" content={CONTENT} />
|
||||
<CollapseCommon title="This is a subtitle" content={CONTENT} />
|
||||
<CollapseCommon title="This is a subtitle" content={CONTENT} />
|
||||
<CollapseCommon title="This is a subtitle" content={CONTENT} />
|
||||
|
||||
</section>
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user