Skip to content

Commit

Permalink
prevent line breaks in <code>
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Mar 3, 2024
1 parent cff043c commit d3f8d68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,14 @@ code {
border-radius: 0;
padding: 0.2em 0.4em;
background-color: #F2F2F2 !important;
white-space: pre;
word-break: normal;
word-wrap: normal;
}

[data-theme='dark'] code {
background-color: #1E293B !important;
border: 1px solid #444950;
}

.header-icon::before {
Expand Down

0 comments on commit d3f8d68

Please sign in to comment.