mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-15 10:34:05 +02:00
Fix browser frame
This commit is contained in:
@@ -27,7 +27,7 @@ const BrowserFrame = ({ content, source }) => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<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={{
|
style={{
|
||||||
backfaceVisibility: 'hidden',
|
backfaceVisibility: 'hidden',
|
||||||
WebkitBackfaceVisibility: 'hidden',
|
WebkitBackfaceVisibility: 'hidden',
|
||||||
@@ -35,7 +35,7 @@ const BrowserFrame = ({ content, source }) => {
|
|||||||
{content}
|
{content}
|
||||||
</div>
|
</div>
|
||||||
<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={{
|
style={{
|
||||||
backfaceVisibility: 'hidden',
|
backfaceVisibility: 'hidden',
|
||||||
transform: 'rotateY(180deg)',
|
transform: 'rotateY(180deg)',
|
||||||
|
Reference in New Issue
Block a user