Don't allow hyphenation inside inline <code> elements

This commit is contained in:
Nate Weaver 2020-01-11 17:31:18 -06:00
parent a8951089c3
commit d85c388517
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,6 @@ pre {
padding: 5px; padding: 5px;
word-wrap: normal; word-wrap: normal;
word-break: normal; word-break: normal;
-webkit-hyphens: none;
} }
.nnw-overflow { .nnw-overflow {
overflow-x: auto; overflow-x: auto;
@ -141,6 +140,7 @@ pre {
code, pre { code, pre {
font-family: "SF Mono", Menlo, "Courier New", Courier, monospace; font-family: "SF Mono", Menlo, "Courier New", Courier, monospace;
font-size: .8235rem; font-size: .8235rem;
-webkit-hyphens: none;
} }
img, figure, video, iframe, div { img, figure, video, iframe, div {
max-width: 100%; max-width: 100%;