Spaces:
Sleeping
Sleeping
Keldos
commited on
Commit
•
0d46509
1
Parent(s):
034aa5a
fix: 为代码框增加横向滚动条, fix #226
Browse files- custom.css +1 -0
custom.css
CHANGED
@@ -103,6 +103,7 @@ code {
|
|
103 |
/* 代码块 */
|
104 |
pre code {
|
105 |
display: block;
|
|
|
106 |
white-space: pre;
|
107 |
background-color: hsla(0, 0%, 0%, 80%)!important;
|
108 |
border-radius: 10px;
|
|
|
103 |
/* 代码块 */
|
104 |
pre code {
|
105 |
display: block;
|
106 |
+
overflow: auto;
|
107 |
white-space: pre;
|
108 |
background-color: hsla(0, 0%, 0%, 80%)!important;
|
109 |
border-radius: 10px;
|