1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-16 11:04:30 +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

@@ -8,18 +8,19 @@ import SampleCode from '../../SampleCode';
const Details = () => {
return (
<DetailsLayout title="Separator">
<BrowserFrame
content={
<div className="h-100 flex flex-column items-center justify-center">
<div className="flex items-center w-60 relative">
<div className="absolute bg-white ph2" style={{ left: '50%', top: '50%', transform: 'translate(-50%, -50%)' }}>
<div className="w4"><Rectangle height={16} /></div>
<div className="ph4 pv5">
<BrowserFrame
content={
<div className="h-100 flex flex-column items-center justify-center">
<div className="flex items-center w-60 relative">
<div className="absolute bg-white ph2" style={{ left: '50%', top: '50%', transform: 'translate(-50%, -50%)' }}>
<div className="w4"><Rectangle height={16} /></div>
</div>
<div className="bb b--black-30 w-100" style={{ height: '1px' }} />
</div>
<div className="bb b--black-30 w-100" style={{ height: '1px' }} />
</div>
</div>
}
source={
}
source={
<SampleCode
lang="html"
code={`
@@ -54,8 +55,9 @@ code={`
</div>
`}
/>
}
/>
}
/>
</div>
</DetailsLayout>
);
};