Skip to content

Commit 3a3c5b0

Browse files
committed
fix: overflow makes code act strange
1 parent 0578cb5 commit 3a3c5b0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/scss/blog_basic.scss

-2
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,6 @@ pre {
230230
font-size: 15px;
231231
background-color: var(--secondary-950) !important;
232232
font-family: var(--mono-font-face) !important;
233-
text-wrap: wrap;
234-
overflow-wrap: anywhere;
235233
color: var(--primary-700) !important;
236234
}
237235

src/scss/raw-components/nav.scss

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
font-size: 14px;
2121
max-width: 360px;
2222
overflow-x: auto;
23+
overflow-y: hidden;
2324

2425
li {
2526
position: relative;

0 commit comments

Comments
 (0)