Better code scrolling for touch

This commit is contained in:
Patrick Marsceill 2018-12-16 15:23:18 -05:00
parent eaf1247911
commit 20970ca9e6
No known key found for this signature in database
GPG Key ID: 286B93882D828F40
1 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ pre.highlight {
padding: $sp-3;
margin-bottom: 0;
background-color: $code-background-color;
-webkit-overflow-scrolling: touch;
code {
padding: 0;
@ -104,7 +105,7 @@ pre.highlight {
.code-example {
padding: $sp-3;
margin-bottom: $sp-3;
overflow: scroll;
overflow: auto;
border: 1px solid $border-color;
border-radius: $border-radius;