fix: Long words in table of contents should wrap, closes #6883

This commit is contained in:
Tom Moor
2024-05-09 23:24:37 -06:00
parent dc8baff013
commit 7c3cd216bf

View File

@@ -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")};