@ashley-shrok/viewmodel-shell 3.2.0 → 3.2.1

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": "@ashley-shrok/viewmodel-shell",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "A server-driven UI framework where the wire format is structured enough that agents can build full-stack apps without ever opening a browser and all UI tests are pure unit tests with no browser runtime. Server returns a JSON tree of typed nodes; a thin TypeScript adapter renders it to DOM. Backend-agnostic — a .NET reference backend ships with the repo, but any language can produce the JSON contract.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -439,6 +439,14 @@ body {
439
439
  flex-wrap: wrap;
440
440
  }
441
441
  .vms-form--inline > .vms-field { flex: 1 1 12rem; }
442
+ /* #23 — inline forms bottom-align their row (align-items: flex-end), but the
443
+ base align-self: flex-start on the implicit submit button and the buttons[]
444
+ row escapes that (an item's align-self beats the parent's align-items), so
445
+ the submit would top-anchor while the fields hang at the bottom. Drop those
446
+ direct children back to auto so the parent's flex-end wins — the same
447
+ override the modal footer already applies to .vms-button. */
448
+ .vms-form--inline > .vms-button,
449
+ .vms-form--inline > .vms-form__buttons { align-self: auto; }
442
450
  /* Multi-action submit buttons row (0.10.0 / #15) — groups the form's
443
451
  buttons[] entries on one line, like a dialog action bar. align-self
444
452
  flex-start keeps the row from stretching full-width in the stacked form. */