mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-09 23:44:08 +02:00
Allow styled component Sidebar to shrink
This commit is contained in:
committed by
Jean-Philippe Sirois
parent
69cdce3b2c
commit
486b3da9dc
@@ -15,7 +15,7 @@ export const Content = styled.div`
|
|||||||
|
|
||||||
export const Sidebar = styled.div`
|
export const Sidebar = styled.div`
|
||||||
width: 240px;
|
width: 240px;
|
||||||
flex: 0 0 240px;
|
flex: 0 1 240px;
|
||||||
border-left: 1px solid ${(props) => darken(0.1, props.theme.main.background)};
|
border-left: 1px solid ${(props) => darken(0.1, props.theme.main.background)};
|
||||||
color: ${(props) => (props.theme.name === "dark" ? "#f9f9f9" : "#172129")};
|
color: ${(props) => (props.theme.name === "dark" ? "#f9f9f9" : "#172129")};
|
||||||
margin: 64px 0;
|
margin: 64px 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user