Skip to content

Commit

Permalink
fix: safari iframe visibility with opacity toggle (#1387)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrymatio committed Feb 16, 2023
1 parent 8f4df67 commit 0f21c7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby-theme-aio/src/components/Layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,7 @@ export default ({ children, pageContext, location }) => {
z-index: 10;
width: 100%;
height: 100%;
opacity: ${showSearch ? 1 : 0};
visibility: ${showSearch ? "visible" : "hidden"};`}
></iframe>
)}
Expand Down

0 comments on commit 0f21c7c

Please sign in to comment.