From 486b3da9dc99c9421ca377f0c64b5c89556a500b Mon Sep 17 00:00:00 2001 From: Travis Kohlbeck Date: Fri, 4 Sep 2020 17:18:55 -0400 Subject: [PATCH] Allow styled component Sidebar to shrink --- src/components/PageContent/styles.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PageContent/styles.tsx b/src/components/PageContent/styles.tsx index ab6e43a..7ea09ee 100644 --- a/src/components/PageContent/styles.tsx +++ b/src/components/PageContent/styles.tsx @@ -15,7 +15,7 @@ export const Content = styled.div` export const Sidebar = styled.div` width: 240px; - flex: 0 0 240px; + flex: 0 1 240px; border-left: 1px solid ${(props) => darken(0.1, props.theme.main.background)}; color: ${(props) => (props.theme.name === "dark" ? "#f9f9f9" : "#172129")}; margin: 64px 0;