1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-21 13:21:59 +02:00

Use the correct style for WebkitBackfaceVisibility

This commit is contained in:
Phuoc Nguyen
2019-11-18 18:28:09 +07:00
parent 069af27891
commit 9761e98cdc

View File

@@ -29,7 +29,7 @@ const BrowserFrame = ({ content, source }) => {
className="overflow-scroll absolute top-0 left-0 h-100 w-100" className="overflow-scroll absolute top-0 left-0 h-100 w-100"
style={{ style={{
backfaceVisibility: 'hidden', backfaceVisibility: 'hidden',
'-webkit-backface-visibility': 'hidden', WebkitBackfaceVisibility: 'hidden',
}}> }}>
{content} {content}
</div> </div>
@@ -37,8 +37,8 @@ const BrowserFrame = ({ content, source }) => {
className="absolute top-0 left-0 h-100 w-100" className="absolute top-0 left-0 h-100 w-100"
style={{ style={{
backfaceVisibility: 'hidden', backfaceVisibility: 'hidden',
'-webkit-backface-visibility': 'hidden',
transform: 'rotateY(180deg)', transform: 'rotateY(180deg)',
WebkitBackfaceVisibility: 'hidden',
}} }}
> >
{source} {source}