1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-29 08:39:58 +02:00

Some layout tweaks

This commit is contained in:
Phuoc Nguyen
2019-11-29 10:10:38 +07:00
parent 4e80dfdf79
commit 86eb00f7da
13 changed files with 40 additions and 81 deletions

View File

@@ -102,13 +102,14 @@ const BrowserFrame: React.FC<BrowserFrameProps> = ({ content, source }) => {
height: '100%',
left: 0,
opacity: isContentActive ? 0 : 1,
overflow: 'scroll',
position: 'absolute',
top: 0,
transform: 'rotateY(180deg)',
width: '100%',
}}
>
<SampleCode lang="html" code={source} />
<SampleCode fullHeight={true} lang="html" code={source} />
</div>
</div>
</div>