1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-09-01 01:51:43 +02:00

Add sticky header

This commit is contained in:
Phuoc Nguyen
2019-11-15 21:36:32 +07:00
parent 36776da948
commit 32929c27ae
7 changed files with 101 additions and 12 deletions

View File

@@ -25,7 +25,7 @@ const BrowserFrame = ({ content, source }) => {
transform: isContentActive ? '' : 'rotateY(180deg)',
}}
>
<div className="absolute top-0 left-0 h-100 w-100" style={{ backfaceVisibility: 'hidden' }}>
<div className="overflow-scroll absolute top-0 left-0 h-100 w-100" style={{ backfaceVisibility: 'hidden' }}>
{content}
</div>
<div