@lace-cloud/canvas 0.29.0 → 0.31.0

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.
@@ -8,8 +8,8 @@
8
8
  * A panel's content fits the column the canvas gives it (260 px for the
9
9
  * settings panel, 300 px for an inspector): the frame breaks long
10
10
  * identifiers anywhere (`overflow-wrap: anywhere` on @lace-cloud/ui's
11
- * `.lace-panel`, inherited), every row of controls wraps, and a row's
12
- * children may shrink below their content's width. */
11
+ * `.lace-panel`, inherited), every row of controls wraps but a field's own
12
+ * row, and a row's children may shrink below their content's width. */
13
13
 
14
14
  /* A heading inside a section (Interface > Inputs, Outputs): the same small
15
15
  * capitals as the section heads (AccordionSection.css), so the drawer has
@@ -64,6 +64,24 @@
64
64
  align-items: stretch;
65
65
  }
66
66
 
67
+ /* A row's fields and the control that removes them: one row that never
68
+ * wraps, its fields (its name, its inputs) sharing the room the control
69
+ * leaves. */
70
+ .lace-panel-row-actions--field {
71
+ flex-wrap: nowrap;
72
+ }
73
+
74
+ .lace-panel-row-actions--field > * {
75
+ flex: none;
76
+ }
77
+
78
+ .lace-panel-row-actions--field > :first-child,
79
+ .lace-panel-row-actions--field > .lace-input,
80
+ .lace-panel-row-actions--field > .lace-input-field {
81
+ flex: 1 1 auto;
82
+ min-width: 0;
83
+ }
84
+
67
85
  .lace-panel-hint {
68
86
  margin-bottom: var(--lace-space-4);
69
87
  color: var(--lace-color-text-muted);