1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-24 19:26:26 +02:00

Tweak layout

This commit is contained in:
Phuoc Nguyen
2021-05-09 16:35:55 +07:00
parent f1644dd6ea
commit cdb3c2041d
3 changed files with 14 additions and 28 deletions

View File

@@ -15,17 +15,13 @@ interface BrowserFrameProps {
const BrowserFrame: React.FC<BrowserFrameProps> = ({ children, css, html }) => {
return (
<div className="demo">
<div className="demo__html">
<SampleCode fullHeight={true} lang="html" code={html} />
</div>
<div className="demo__css">
<SampleCode fullHeight={true} lang="css" code={css} />
</div>
<>
<SampleCode fullHeight={true} lang="html" code={html} />
<SampleCode fullHeight={true} lang="css" code={css} />
<div className="demo__live">
{children}
</div>
</div>
</>
);
};