@coolms/ui-react 0.1.0-alpha.3 → 0.1.0-alpha.4

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": "@coolms/ui-react",
3
- "version": "0.1.0-alpha.3",
3
+ "version": "0.1.0-alpha.4",
4
4
  "description": "The CoolMS UI kit for React: the components of the CoolMS UI contract, styled by the CoolMS design tokens",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/kit.css CHANGED
@@ -342,7 +342,9 @@
342
342
  .cms-shell__product { font-size: var(--cms-font-size-title-md); font-weight: var(--cms-font-weight-bold); white-space: nowrap; }
343
343
  .cms-shell__search { flex: 1; max-width: 640px; }
344
344
  .cms-shell__account { display: flex; align-items: center; gap: var(--cms-space-4); margin-left: auto; }
345
- .cms-shell__main { min-height: 0; overflow: hidden; }
345
+ /* The open section's area: a column, so a section given `flex: 1` fills the height under anything above it. */
346
+ .cms-shell__main { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
347
+ .cms-shell__main > :only-child { flex: 1; min-height: 0; }
346
348
 
347
349
  .cms-server-switch { display: inline-flex; align-items: center; gap: var(--cms-space-2); height: 36px; padding: 0 var(--cms-space-3); border: 1px solid var(--cms-border); border-radius: var(--cms-radius-pill); background: var(--cms-surface); color: var(--cms-text); font: inherit; cursor: pointer; }
348
350