Skip to content

Commit 639e6e2

Browse files
committed
fix: correct paddings
1 parent 8b74a5c commit 639e6e2

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

src/widget/accordion.css

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,14 @@
1515
}
1616

1717
.neuroglancer-accordion-chevron {
18-
margin-top: 4px;
1918
display: inline-flex;
2019
align-items: center;
2120
}
2221

2322
.neuroglancer-accordion-chevron svg {
2423
width: 20px;
2524
height: 20px;
26-
}
27-
28-
.neuroglancer-accordion-chevron svg path {
29-
fill: rgb(153, 156, 160); /* Chevron color */
25+
fill: rgb(255, 255, 255); /* Chevron color */
3026
}
3127

3228
.neuroglancer-accordion-item[data-expanded="false"]
@@ -35,18 +31,14 @@
3531
}
3632

3733
.neuroglancer-accordion-header {
38-
padding: 10px;
34+
padding: 8px 2px;
3935
cursor: pointer;
4036
justify-content: space-between;
4137
display: flex;
4238
}
4339

44-
.neuroglancer-accordion-header:hover {
45-
background-color: #141414;
46-
}
47-
4840
.neuroglancer-accordion-body {
49-
padding: 10px;
41+
padding: 2px;
5042
overflow-x: auto;
5143
overflow-y: auto;
5244
}

0 commit comments

Comments
 (0)