- commit
- c07c641147fd6669c4a33c7a97cce53a9cbcaead
- parent
- 390bebd4be1b013c14edb3b01b66c4b37b6a4117
- author
- dami etoile <dami.etoile@gmail.com>
| M | dashboard/ | 8 | +++++--- |
| M | dashboard/ | 1 | + |
@@ -195,9 +195,11 @@
195195 sources.map(function (s) { return h(SelectOption, { key: s.id, value: s.id }, s.name + (s.valid ? "" : " (invalid)")); })196196 ),197197 h("button", { className: "os-icon-btn", onClick: onRefresh, title: "Refresh", disabled: sources.length === 0 }, h(Icon, { d: ICO.refresh })),198- h("button", { className: "os-icon-btn", onClick: onEdit, title: "Edit source", disabled: !active }, h(Icon, { d: ICO.edit })),199- h("button", { className: "os-icon-btn", onClick: onRemove, title: "Remove source", disabled: !active }, h(Icon, { d: ICO.trash })),200- h("button", { className: "os-icon-btn", onClick: onAdd, title: "Add source" }, h(Icon, { d: ICO.plus }))198+ h("div", { className: "os-toolbar-actions" },199+ h("button", { className: "os-icon-btn", onClick: onEdit, title: "Edit source", disabled: !active }, h(Icon, { d: ICO.edit })),200+ h("button", { className: "os-icon-btn", onClick: onRemove, title: "Remove source", disabled: !active }, h(Icon, { d: ICO.trash })),201+ h("button", { className: "os-icon-btn", onClick: onAdd, title: "Add source" }, h(Icon, { d: ICO.plus }))202+ )201203 );202204 }203205 @@ -8,6 +8,7 @@
88 /* Toolbar */99 .os-toolbar { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }1010 .os-toolbar label { font-size: 0.75rem; color: var(--color-muted-foreground, #aaa); margin-right: 0.25rem; }11+.os-toolbar-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }1112 1213 /* Shrink Select dropdowns to fit their text content instead of stretching1314 (the SDK Select trigger has w-full, which over-sizes in flex toolbars). */