Skip to content

Commit

Permalink
fix: Long words in table of contents should wrap, closes #6883
Browse files Browse the repository at this point in the history
  • Loading branch information
tommoor committed May 10, 2024
1 parent dc8baff commit 7c3cd21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/scenes/Document/components/Contents.tsx
Expand Up @@ -141,6 +141,7 @@ const ListItem = styled.li<{ level: number; active?: boolean }>`
margin-bottom: 8px;
padding-right: 2em;
line-height: 1.3;
word-break: break-word;
a {
font-weight: ${(props) => (props.active ? "600" : "inherit")};
Expand Down

0 comments on commit 7c3cd21

Please sign in to comment.