Skip to content

Commit 36867bf

Browse files
committed
recorder: only add margin for opened tracks
1 parent 45cb622 commit 36867bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/recorder/interface.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
input[name=accordion-tracks]:checked ~ .accordion-header i { transition: transform 0.2s; }
4747
.accordion { margin-bottom: 20px; }
4848
.accordion-item { position: relative; }
49-
.accordion-header { cursor: pointer; padding: 10px; background: #f8f9fa; border-radius: 4px; margin-bottom: 5px; }
49+
.accordion-header { cursor: pointer; padding: 10px; background: #f8f9fa; border-radius: 4px; }
50+
/* only show margin on expanded entries */
51+
input[name=accordion-tracks]:checked ~ .accordion-header { margin-bottom: 5px; }
5052
.accordion-header:hover { background: #e9ecef; }
5153
.accordion-body { overflow: visible; }
5254
.track-content-wrapper {

0 commit comments

Comments
 (0)