Skip to content

Commit 8336baf

Browse files
authored
Merge pull request #327 from travisk-codes/PageContent-overflow-bug
Prevent long TOC item overflow
2 parents 69cdce3 + 486b3da commit 8336baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/PageContent/styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const Content = styled.div`
1515

1616
export const Sidebar = styled.div`
1717
width: 240px;
18-
flex: 0 0 240px;
18+
flex: 0 1 240px;
1919
border-left: 1px solid ${(props) => darken(0.1, props.theme.main.background)};
2020
color: ${(props) => (props.theme.name === "dark" ? "#f9f9f9" : "#172129")};
2121
margin: 64px 0;

0 commit comments

Comments
 (0)