Skip to content

Commit 40af120

Browse files
committed
fix: bound the layers elements section so it scrolls and resizes
1 parent e6b8246 commit 40af120

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎src/styles/Extn-LayersPanel.less‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,17 @@
116116
}
117117

118118
.layers-section-elements {
119-
flex: 0 0 var(--layers-elements-size, 60%);
119+
flex-grow: var(--layers-elements-size, 60);
120+
flex-shrink: 1;
121+
flex-basis: 0;
120122
}
121123

122124
.layers-details {
123125
display: flex;
124126
flex-direction: column;
125-
flex: 1 1 auto;
127+
flex-grow: calc(100 - var(--layers-elements-size, 60));
128+
flex-shrink: 1;
129+
flex-basis: 0;
126130
min-height: 0;
127131
overflow: auto;
128132
}

0 commit comments

Comments
 (0)