File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ export const Moving = styled.div`
3333 position: absolute;
3434 top: 0;
3535 bottom: 0;
36- left: 0;
36+ left: props.sidebarOpen ? 250 : 0;
3737 right: 0;
38- transform: translateX( ${ props => ( props . sidebarOpen ? 250 : 0 ) } px) ;
38+ width: ${ props => ( props . sidebarOpen ? 'calc(100% - 250px)' : '100%' ) } ;
3939 border: 1px solid;
4040 /* 8 digit hex code with last 2 for opacity */
4141 border-color: ${ props => props . theme . colors . sideBar . border + '33' } ;
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ type State = {
8383 running : boolean ;
8484 currentDevToolPosition : DevToolsTabPosition ;
8585} ;
86-
86+ // eslint-disable-next-line import/no-default-export
8787export default class Content extends React . PureComponent < Props , State > {
8888 state : State ;
8989
Original file line number Diff line number Diff line change 44 color : # fff ;
55 font-family : 'Inter UI' , sans-serif;
66 background : # 151515 ;
7+ cursor : pointer;
78 }
89
910 .container {
You can’t perform that action at this time.
0 commit comments