1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-21 08:36:26 -05:00

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

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;