Skip to content

Commit

Permalink
make the content wide if we have code
Browse files Browse the repository at this point in the history
  • Loading branch information
SichangHe committed Oct 10, 2024
1 parent 503d4e8 commit 45e06eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions theme/css/override.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ code {
sup {
line-height: 0;
}

.content main:has(pre > code) {
max-width: fit-content;
}

0 comments on commit 45e06eb

Please sign in to comment.