Skip to content

Commit 28f1a17

Browse files
committed
add expand/collapse indicators for schema cards and sections
1 parent fafc968 commit 28f1a17

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/webviews/dashboard/resource/resourceBrowserPanel.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,16 @@
163163
padding: 0;
164164
margin-left: 4px;
165165
}
166+
167+
.schema-card > summary::before,
168+
.schema-section > summary::before {
169+
content: '▸';
170+
display: inline-block;
171+
margin-right: 4px;
172+
transition: transform 0.1s ease-in-out;
173+
}
174+
175+
.schema-card[open] > summary::before,
176+
.schema-section[open] > summary::before {
177+
transform: rotate(90deg);
178+
}

0 commit comments

Comments
 (0)