@truenas/ui-components 0.1.59 → 0.1.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truenas/ui-components",
3
- "version": "0.1.59",
3
+ "version": "0.1.61",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org",
6
6
  "access": "public"
@@ -591,10 +591,16 @@ tn-dialog-shell {
591
591
  border-top: 1px solid var(--tn-lines, #e5e7eb);
592
592
  display: flex;
593
593
  justify-content: flex-end;
594
+ gap: 16px;
594
595
  }
595
596
 
596
- .tn-dialog__actions tn-button:not(:first-child) {
597
- margin-left: 16px;
597
+ /* Buttons are projected inside a [tnDialogAction] wrapper, so the gap must
598
+ live on the wrapper to separate them — the footer gap only spaces the
599
+ wrapper itself. */
600
+ .tn-dialog__actions [tnDialogAction] {
601
+ display: flex;
602
+ align-items: center;
603
+ gap: 16px;
598
604
  }
599
605
 
600
606
  /* Destructive variant */