Skip to content

Commit

Permalink
panels and inspectors scrolls
Browse files Browse the repository at this point in the history
  • Loading branch information
kleber-swf committed Sep 16, 2021
1 parent 8871a7c commit 69b5c1c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/editor-view/inspector/inspector.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
flex-direction: column;
justify-content: stretch;
align-items: stretch;
overflow: hidden;

.title {
font-size: 12px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
phred-object-tree-inspector.phred-inspector {
overflow: hidden;
.content {
margin: 6px;
}
Expand Down
5 changes: 4 additions & 1 deletion src/editor-view/object-tree/tree-node/tree-node.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
@import 'colors';

phred-tree-node {
display: inline-block;
cursor: pointer;
flex: 1;
min-width: 100%;

&.selected {
& > .node-head {
Expand Down Expand Up @@ -56,12 +58,13 @@ phred-tree-node {
.node-name {
display: inline-block;
white-space: nowrap;
padding-right: 10px;
}
}

.node-children {
margin-left: 16px;
margin-bottom: 4px;
overflow: hidden;
display: flex;
}
}
2 changes: 1 addition & 1 deletion src/editor-view/panel/panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ phred-panel {
align-items: stretch;
justify-content: stretch;
z-index: 2;
overflow: auto;
overflow: hidden;

&.large {
width: 300px;
Expand Down

0 comments on commit 69b5c1c

Please sign in to comment.