Skip to content

Commit 3dc4e2b

Browse files
author
AsakiAsako
committed
fix small ui issues
1 parent dd194af commit 3dc4e2b

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

_sass/_gitalk.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@
204204
.markdown-body pre {
205205
padding: 16px;
206206
overflow: auto;
207+
-webkit-overflow-scrolling: touch;
207208
font-size: 85%;
208209
line-height: 1.45;
209210
background-color: #f6f8fa;
@@ -700,6 +701,7 @@
700701
border-radius: 5px;
701702
border: 1px solid $divider-color;
702703
overflow: auto;
704+
-webkit-overflow-scrolling: touch;
703705
-webkit-transition: all ease 0.25s;
704706
transition: all ease 0.25s;
705707

_sass/_highlights.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ pre.highlight {
1616
border: 1px solid $oc-gray-3;
1717
border-radius: 3px;
1818
margin: 1em 0;
19-
overflow: scroll;
19+
overflow: auto;
20+
-webkit-overflow-scrolling: touch;
2021
}
2122

2223
.highlight { background: $oc-gray-0; }

style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ dt {
180180
float: left;
181181
width: $dt-width;
182182
overflow: auto;
183+
-webkit-overflow-scrolling: touch;
183184
clear: left;
184185
text-align: right;
185186
white-space: nowrap;

0 commit comments

Comments
 (0)