mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Changed invisible to opacity in iFrame buffering
This commit is contained in:
parent
42bf59d492
commit
acf4ca1aae
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ const IframeBuffering: React.FC<IframeBufferingProps> = ({generateContent, class
|
||||||
<div className={parentClassName} data-testid={testId}>
|
<div className={parentClassName} data-testid={testId}>
|
||||||
<iframe
|
<iframe
|
||||||
ref={iframes[0]}
|
ref={iframes[0]}
|
||||||
className={`${className} ${visibleIframeIndex !== 0 ? 'invisible z-10' : 'z-20'}`}
|
className={`${className} ${visibleIframeIndex !== 0 ? 'z-10 opacity-0' : 'z-20 opacity-100'}`}
|
||||||
data-visible={visibleIframeIndex === 0}
|
data-visible={visibleIframeIndex === 0}
|
||||||
frameBorder="0"
|
frameBorder="0"
|
||||||
height={height}
|
height={height}
|
||||||
|
@ -80,7 +80,7 @@ const IframeBuffering: React.FC<IframeBufferingProps> = ({generateContent, class
|
||||||
|
|
||||||
<iframe
|
<iframe
|
||||||
ref={iframes[1]}
|
ref={iframes[1]}
|
||||||
className={`${className} ${visibleIframeIndex !== 1 ? 'invisible z-10' : 'z-20'}`}
|
className={`${className} ${visibleIframeIndex !== 1 ? 'z-10 opacity-0' : 'z-20 opacity-100'}`}
|
||||||
data-visible={visibleIframeIndex === 1}
|
data-visible={visibleIframeIndex === 1}
|
||||||
frameBorder="0"
|
frameBorder="0"
|
||||||
height={height}
|
height={height}
|
||||||
|
|
Loading…
Add table
Reference in a new issue