Skip to content

Commit

Permalink
Fix: code block readability for long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
altfoxie committed Jun 1, 2024
1 parent 3cd3bee commit eeb3f90
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,8 @@
.DocSearch {
--docsearch-primary-color: var(--vp-c-brand-1) !important;
}

/* Makes code blocks with very long lines readable */
code {
white-space: pre-wrap !important;
}

0 comments on commit eeb3f90

Please sign in to comment.