Skip to content

Commit a68a210

Browse files
committed
style: update markdown style.
1 parent 4b65005 commit a68a210

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/styles/markdown.less

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,13 @@
7070
}
7171

7272
pre code {
73-
background: none;
74-
overflow-wrap: normal;
75-
white-space: inherit;
76-
tab-size: 2;
77-
padding: 16px;
78-
font-size: 95%;
79-
line-height: 1.5;
8073
display: block;
81-
text-shadow: 0 1px #fff;
74+
padding: 16px;
75+
overflow: auto;
76+
font-size: 85%;
77+
line-height: 1.45;
78+
background-color: #f6f8fa;
79+
border-radius: 6px;
8280
}
8381

8482
pre {

0 commit comments

Comments
 (0)