Skip to content

Commit 7de05c4

Browse files
committed
Fix horizontal scroll bar
1 parent 189fb42 commit 7de05c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gatsby-theme-guide/components/paywall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const FULL_PATHS = ['/service-integrations/', '/preventing-dos-attacks/']
2626

2727
const Hide = styled.div`
2828
height: ${(props) => (props.hide ? '1px' : 'auto')};
29-
overflow-y: hidden;
29+
overflow-y: ${(props) => (props.hide ? 'hidden' : 'auto')};
3030
`
3131

3232
const Overlay = styled.div`

0 commit comments

Comments
 (0)