Skip to content

Commit

Permalink
Nine patch generator layout/scrolling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
romannurik committed Oct 29, 2020
1 parent db0d0c6 commit 51b91cc
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions app/pages/ninepatch/nine-patch-generator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ body.page-nine-patch-generator {
flex: 1;
display: flex;
flex-direction: column;
min-width: 0;
}

.stage-top-toolbar,
Expand Down Expand Up @@ -65,8 +66,9 @@ body.page-nine-patch-generator {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
// align-items: center;
// justify-content: center;
overflow: auto;
padding: 24px;
}

Expand All @@ -75,6 +77,7 @@ body.page-nine-patch-generator {
box-shadow: material-shadow(3);
display: flex;
flex: 0 0 auto;
margin: auto;

.empty {
color: $colorBlackTertiary;
Expand Down Expand Up @@ -206,6 +209,10 @@ body.page-nine-patch-generator {
background-color: material-color('grey', '300');
}

.outputs-panel {
min-height: 0;
}

&[data-theme="dark"] {
.outputs-panel,
.nine-patch-preview-area-container {
Expand Down

0 comments on commit 51b91cc

Please sign in to comment.