fix: Incorrect border color on table of contents in dark mode
This commit is contained in:
@ -72,7 +72,7 @@ const Wrapper = styled("div")`
|
|||||||
position: sticky;
|
position: sticky;
|
||||||
top: 80px;
|
top: 80px;
|
||||||
|
|
||||||
box-shadow: 1px 0 0 ${(props) => darken(0.05, props.theme.sidebarBackground)};
|
box-shadow: 1px 0 0 ${(props) => props.theme.divider};
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
margin-right: 2em;
|
margin-right: 2em;
|
||||||
min-height: 40px;
|
min-height: 40px;
|
||||||
@ -108,7 +108,7 @@ const ListItem = styled("li")`
|
|||||||
padding-right: 2em;
|
padding-right: 2em;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
border-right: 3px solid
|
border-right: 3px solid
|
||||||
${(props) => (props.active ? props.theme.textSecondary : "transparent")};
|
${(props) => (props.active ? props.theme.divider : "transparent")};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Link = styled("a")`
|
const Link = styled("a")`
|
||||||
|
Reference in New Issue
Block a user