1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-26 07:14:44 +02:00

Fix spacing in details page

This commit is contained in:
Phuoc Nguyen
2019-11-23 22:13:02 +07:00
parent 10a14b1e48
commit 07d6c19b1f
37 changed files with 822 additions and 726 deletions

View File

@@ -15,9 +15,7 @@ const DetailsLayout = ({ title, children }) => {
<div className="bt br bl b--black-20 relative br4 br--top">
<h1 className="absolute bg-white f2 fw6 left-2 lh-copy ma0 ph2 top-0" style={{ left: '50%', transform: 'translate(-50%, -50%)' }}>{title}</h1>
<div className="pa5">
{children}
</div>
{children}
</div>
</Layout>
);