@ashley-shrok/viewmodel-shell 6.2.0 → 6.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": "6.2.0",
3
+ "version": "6.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",
@@ -286,6 +286,14 @@ body:has(.vms-page--fill) { margin: 0; }
286
286
  }
287
287
  .vms-page--sidebar > .vms-page__title,
288
288
  .vms-section--sidebar > .vms-section__heading { flex: 0 0 100%; }
289
+ /* Flex items default to min-width: auto, so a child whose MIN-content is wider than
290
+ its flex track (e.g. a plain section wrapping a wide/nowrap TableNode) can't shrink
291
+ and forces the flex line to wrap — rail alone on line 1, main dropped below with dead
292
+ space. min-width: 0 lets the child shrink to its track and the inner overflow
293
+ container (.vms-table-wrapper{overflow-x:auto}, long strings) scroll instead. Mirrors
294
+ the split/cards min-width:0 rule above, which was NOT applied to sidebar (#17). */
295
+ .vms-page--sidebar > *,
296
+ .vms-section--sidebar > * { min-width: 0; }
289
297
 
290
298
  /* ── Layout preset: row (D-30 / 1.11.0) — left-aligned wrapping horizontal row;
291
299
  children hug their content (no forced grow), wrap to the next line on overflow.