Skip to content

Commit

Permalink
fix: decrease font size of table of contents
Browse files Browse the repository at this point in the history
  • Loading branch information
silvenon committed Jun 1, 2021
1 parent 8fd09cd commit e0419b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/components/TableOfContents.tsx
Expand Up @@ -28,7 +28,7 @@ const getColor = (active: boolean, level: number, theme) => {
const StyledAnchor = styled.a<StyledAnchorProps>`
${({ active, level, theme }) => css`
color: ${getColor(active, level, theme)};
font-size: ${level > 0 && "14px"};
font-size: ${level === 0 ? "14px" : "12px"};
font-weight: ${level <= 1 && "500"};
text-indent: -${theme.orbit.spaceXLarge};
margin-bottom: ${level === 0 && "8px"};
Expand Down

0 comments on commit e0419b1

Please sign in to comment.