Skip to content

Commit

Permalink
use flexbox for sidebar and toolbox positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
DevStarks committed Apr 13, 2017
1 parent c7da9af commit 33e1174
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Main/Sidebar/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
:local(.Sidebar) {
background-color:$color-background-medium;
width: 8rem;
position: absolute;
top: 0;
bottom: 0;
padding: 1rem;
Expand Down
2 changes: 2 additions & 0 deletions src/Main/Toolbox/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@

:local(.Toolbox) {
background-color:#fff;
height: 100vh;
flex: 1;
}
2 changes: 1 addition & 1 deletion src/Main/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

:local(.Main) {
background-color:$background-color;

display: flex;
min-height: 100vh;
width: 100vw;
position:relative;
Expand Down

0 comments on commit 33e1174

Please sign in to comment.