Skip to content

Commit

Permalink
fix: style side bars
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Dec 23, 2020
1 parent a62394f commit d9999a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/components/src/ThemeContext/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -956,11 +956,11 @@ export const theme: ControlsTheme = {
sidecontext: {
container: {
px: 3,
borderLeft: (t: Theme): string => `1px solid ${t.colors?.shadow}`,
},
nav: { display: 'flex', flexDirection: 'column' },
navlink: {
fontSize: 1,
color: 'mutedText',
fontWeight: 'body',
},
toggle: {
Expand All @@ -979,6 +979,7 @@ export const theme: ControlsTheme = {
my: 2,
},
sidebar: {
height: '100vh',
borderRight: (t: Theme): string => `1px solid ${t.colors?.shadow}`,
},
container: {
Expand Down Expand Up @@ -1105,7 +1106,7 @@ export const theme: ControlsTheme = {
display: 'flex',
flexDirection: 'row',
flex: '1 0 auto',
minHeight: '100vh',
minHeight: 'calc(100vh - 68px)', //height of toolbar
position: 'relative',
},
},
Expand Down

0 comments on commit d9999a6

Please sign in to comment.