mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-13 17:44:19 +02:00
Fix browser frame
This commit is contained in:
@@ -27,7 +27,7 @@ const BrowserFrame = ({ content, source }) => {
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="overflow-scroll absolute top-0 left-0 h-100 w-100"
|
||||
className={`overflow-scroll absolute top-0 left-0 h-100 w-100 ${isContentActive ? 'o-1' : 'o-0'}`}
|
||||
style={{
|
||||
backfaceVisibility: 'hidden',
|
||||
WebkitBackfaceVisibility: 'hidden',
|
||||
@@ -35,7 +35,7 @@ const BrowserFrame = ({ content, source }) => {
|
||||
{content}
|
||||
</div>
|
||||
<div
|
||||
className="absolute top-0 left-0 h-100 w-100"
|
||||
className={`absolute top-0 left-0 h-100 w-100 ${isContentActive ? 'o-0' : 'o-1'}`}
|
||||
style={{
|
||||
backfaceVisibility: 'hidden',
|
||||
transform: 'rotateY(180deg)',
|
||||
|
Reference in New Issue
Block a user