feat: making examples in readme look good

This commit is contained in:
Byson94
2025-10-11 15:34:14 +05:30
parent 17d59c1e15
commit c446321173
3 changed files with 9 additions and 12 deletions

View File

@@ -66,7 +66,7 @@ fn metric(props) {
space_evenly: false,
}, [
box(#{ class: "label" }, [ label(#{ text: label_prop }) ]),
slider(#{
scale(#{
min: 0,
max: 101,
active: onchange_prop != "",