Skip to content

Commit

Permalink
Fix dark mode in Chrome (#4036)
Browse files Browse the repository at this point in the history
  • Loading branch information
penalosa authored Sep 26, 2023
1 parent 2b71e22 commit 2eadcee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function useRefreshableIframe(
<Frame
innerRef={refs[0]}
style={{
background: "white",
opacity: index === 0 ? 1 : 0,
zIndex: index === 0 ? 10 : 5,
pointerEvents: isLoading || isPaneDragging ? "none" : "auto",
}}
Expand All @@ -93,7 +93,7 @@ export function useRefreshableIframe(
<Frame
innerRef={refs[1]}
style={{
background: "white",
opacity: index === 1 ? 1 : 0,
zIndex: index === 1 ? 10 : 5,
pointerEvents: isLoading || isPaneDragging ? "none" : "auto",
}}
Expand Down

0 comments on commit 2eadcee

Please sign in to comment.