Skip to content

Commit 6e6fe4f

Browse files
committed
fix(theme-default): fix code overflow-wrap in Safari (close vuepress#435)
1 parent e5f4dc3 commit 6e6fe4f

File tree

1 file changed

+1
-0
lines changed
  • packages/@vuepress/theme-default/src/client/styles

1 file changed

+1
-0
lines changed

packages/@vuepress/theme-default/src/client/styles/code.scss

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ pre[class*='language-'] {
135135
padding: 0;
136136
background-color: transparent;
137137
border-radius: 0;
138+
overflow-wrap: unset;
138139
-webkit-font-smoothing: auto;
139140
-moz-osx-font-smoothing: auto;
140141
}

0 commit comments

Comments
 (0)