mirror of
https://github.com/thangisme/notes.git
synced 2024-12-21 12:56:33 -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;
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user