mirror of
https://github.com/thangisme/notes.git
synced 2024-12-21 12:46:32 -05:00
Better code scrolling for touch
This commit is contained in:
parent
eaf1247911
commit
20970ca9e6
@ -15,6 +15,7 @@ pre.highlight {
|
|||||||
padding: $sp-3;
|
padding: $sp-3;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
background-color: $code-background-color;
|
background-color: $code-background-color;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
|
||||||
code {
|
code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -104,7 +105,7 @@ pre.highlight {
|
|||||||
.code-example {
|
.code-example {
|
||||||
padding: $sp-3;
|
padding: $sp-3;
|
||||||
margin-bottom: $sp-3;
|
margin-bottom: $sp-3;
|
||||||
overflow: scroll;
|
overflow: auto;
|
||||||
border: 1px solid $border-color;
|
border: 1px solid $border-color;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user