Fixes: Socket reconnecting when changing theme

This commit is contained in:
Tom Moor
2019-04-20 15:19:35 -07:00
parent eb638ba68d
commit 8f276731ed
10 changed files with 20 additions and 11 deletions

View File

@@ -65,7 +65,7 @@ const Container = styled(Flex)`
left: ${props => (props.editMode ? `-${props.theme.sidebarWidth}` : 0)};
width: 100%;
background: ${props => props.theme.sidebarBackground};
transition: left 100ms ease-out;
transition: left 100ms ease-out, ${props => props.theme.backgroundTransition};
margin-left: ${props => (props.mobileSidebarVisible ? 0 : '-100%')};
z-index: 2;