Skip to content

Commit ce6640e

Browse files
devvaannshabose
authored andcommitted
feat: collapse panel sections on double click or chevron click
1 parent f196423 commit ce6640e

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎src/styles/Extn-LayersPanel.less‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
padding: 0 6px 0 2px;
242242
flex-shrink: 0;
243243
box-sizing: border-box;
244-
cursor: pointer;
244+
cursor: default;
245245
user-select: none;
246246
font-size: @sidebar-xs-font-size;
247247
font-weight: 700;
@@ -261,13 +261,20 @@
261261
width: 18px;
262262
height: 18px;
263263
flex: none;
264+
border-radius: 4px;
264265
color: @project-panel-text-2;
266+
cursor: pointer;
265267

266268
svg {
267269
width: 18px;
268270
height: 18px;
269271
transition: transform 120ms ease;
270272
}
273+
274+
&:hover {
275+
background: @layers-hover-bg;
276+
color: @project-panel-text-1;
277+
}
271278
}
272279

273280
.layers-collapsed > .layers-section-header .layers-chevron svg {

0 commit comments

Comments
 (0)