Skip to content

Commit a1b6468

Browse files
committed
improve code>pre style to fixed issue#15
1 parent 1b9a757 commit a1b6468

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

css/hux-blog.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,11 @@ pre,
136136
.table-responsive {
137137
-webkit-overflow-scrolling: touch;
138138
}
139-
@media screen and (max-width: 500px) {
140-
pre code {
141-
display: block;
142-
width: 500px;
143-
}
139+
pre code {
140+
display: block;
141+
width: auto;
142+
white-space: pre;
143+
word-wrap: normal;
144144
}
145145
.post-container a {
146146
color: #337ab7;

0 commit comments

Comments
 (0)