add description to settings headers

This commit is contained in:
yoyurec
2023-02-17 16:20:50 +02:00
committed by Andelf
parent 699ed965c9
commit 912e925448
2 changed files with 7 additions and 3 deletions

View File

@@ -80,11 +80,12 @@
[:div.pl-1 (edit-settings-file pid nil)]]])
(rum/defc render-item-heading
[{:keys [key title]}]
[{:keys [key title description]}]
[:div.heading-item
{:data-key key}
[:h2 title]])
[:h2 title]
[:small.pl-1.flex-1 description]])
(rum/defc settings-container
[schema ^js pl]