Skip to content

Commit a414816

Browse files
jackjocrossgaearon
authored andcommitted
Add -webkit-overflow-scrolling to prism styles (#1457)
1 parent 2e32373 commit a414816

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/prism-styles.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ css.global('.gatsby-highlight', {
3131
borderRadius: 10,
3232
overflow: 'auto',
3333
tabSize: '1.5em',
34+
WebkitOverflowScrolling: 'touch',
3435
});
3536

3637
css.global(

0 commit comments

Comments
 (0)