Added webkit-overflow-scrolling to improve scrolling on iOS devices.

This commit is contained in:
Viktor Gardart 2018-10-05 23:20:26 +02:00 committed by GitHub
parent 1dfa17227f
commit 56bb70fb7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ pre code {
font-size: 0.95em; font-size: 0.95em;
overflow-x: auto; overflow-x: auto;
white-space: pre; white-space: pre;
-webkit-overflow-scrolling: touch;
} }
pre code .keyword { pre code .keyword {