Allow styled component Sidebar to shrink

This commit is contained in:
Travis Kohlbeck
2020-09-08 00:40:06 -04:00
committed by Jean-Philippe Sirois
parent 69cdce3b2c
commit 486b3da9dc
+1 -1
View File
@@ -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;