component preview: Add separators between sections in sidebar (#34701)

Small improvement for navigating inside the component preview.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-07-18 10:24:57 -03:00 committed by GitHub
parent cfe1adc792
commit 1070de47ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 19 deletions

View file

@ -118,8 +118,8 @@ impl RenderOnce for ComponentExampleGroup {
.flex()
.items_center()
.gap_3()
.pb_1()
.child(div().h_px().w_4().bg(cx.theme().colors().border))
.mt_4()
.mb_1()
.child(
div()
.flex_none()