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{
|
.deliveryAndPolicyContentWrapper{
|
||||||
max-width: 80.4rem;
|
max-width: 80.4rem;
|
||||||
min-height: 4rem;
|
min-height: 4rem;
|
||||||
margin-left: 31.8rem;
|
|
||||||
margin-right: 31.8rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.titleWrapper{
|
.titleWrapper{
|
||||||
|
@ -16,25 +16,27 @@ const CONTENT = [
|
|||||||
|
|
||||||
const DeliveryAndPolicyContent = ( { title, date, content } : DeliveryAndPolicyContentProps) => {
|
const DeliveryAndPolicyContent = ( { title, date, content } : DeliveryAndPolicyContentProps) => {
|
||||||
return (
|
return (
|
||||||
<section className={s.deliveryAndPolicyContentWrapper}>
|
<section className={s.wrapper}>
|
||||||
|
|
||||||
<div className={s.titleWrapper}>
|
<div className={s.deliveryAndPolicyContentWrapper}>
|
||||||
<div className={s.date}>
|
<div className={s.titleWrapper}>
|
||||||
<div className={s.update}>LASTEST UPDATED: </div>
|
<div className={s.date}>
|
||||||
<DateTime date={date} />
|
<div className={s.update}>LASTEST UPDATED: </div>
|
||||||
|
<DateTime date={date} />
|
||||||
|
</div>
|
||||||
|
<HeadingCommon>{title}</HeadingCommon>
|
||||||
</div>
|
</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>
|
||||||
<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>
|
</section>
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user