fix: use margin instead of text indent for table of contents

This commit is contained in:
Hossein Mehrabi 2023-08-31 20:21:44 +03:30
parent c54dae2926
commit 0e6dd661b7
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1
1 changed files with 3 additions and 1 deletions

View File

@ -124,6 +124,8 @@ const TocItem = styled(Link)<{ active: boolean }>`
} }
&.level-3 { &.level-3 {
text-indent: 16px; & > * {
margin-left: 16px;
}
} }
` `