Skip to content

Commit

Permalink
fix: #537: Documentation does not work well on Safari (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
nphivu414 authored Mar 13, 2020
1 parent a7233c8 commit cfb0d57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/elements/src/styles/components/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
overflow-x: hidden;
}

&.is-full-height {
height: 100%;
}

&.has-background {
background-color: $white;
}
Expand Down
4 changes: 2 additions & 2 deletions packages/marketplace/src/components/pages/api-docs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ const ApiDocsPage: React.FC = () => {
const { location } = useHistory()
return (
<ErrorBoundary>
<FlexContainerBasic flexColumn hasPadding>
<FlexContainerBasic className="container">
<FlexContainerBasic flexColumn hasPadding className="is-full-height">
<FlexContainerBasic className="container is-full-height">
<iframe
style={{ border: 'none' }}
src={`${IFRAME_URLS.documentation}${parseIframeUrl(location.hash)}`}
Expand Down

0 comments on commit cfb0d57

Please sign in to comment.