Skip to content

Commit

Permalink
the code block was not actually constrained by the size of the li, le…
Browse files Browse the repository at this point in the history
…ading the break-word to be in-effective alone.
  • Loading branch information
Luke Schierer committed Jan 28, 2025
1 parent 3662619 commit 420e507
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/styles/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,13 @@ body:has(#compact-menu:popover-open) {
padding-left: var(--size-4);
}

& li,
& code {
& li {
overflow-wrap: break-word;

& code {
width: 100%;
overflow: break-word;
}
}

& img {
Expand Down

0 comments on commit 420e507

Please sign in to comment.