Skip to content

Commit 486b3da

Browse files
travisk-codesveksen
authored andcommitted
Allow styled component Sidebar to shrink
1 parent 69cdce3 commit 486b3da

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)