@yuhuanowo/yunui 0.2.7 → 0.2.8

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/styles/yunui.css +7 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuhuanowo/yunui",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "A versioned React 19 + Tailwind v4 design system — tokens, primitives, patterns, and AI components, in one package.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
package/styles/yunui.css CHANGED
@@ -528,14 +528,16 @@ body {
528
528
  box-shadow: var(--shadow-md);
529
529
  }
530
530
 
531
- /* Lay a card out as a column so its footer can pin to the bottom. In a grid of
532
- equal-height cards (align-items: stretch, the default), every footer then lines
533
- up no matter how much body content each card has — fixes the "footer floats in
534
- a short card" problem once, here, instead of per call site. */
531
+ /* Lay a card out as a column so its footer can pin to the bottom. In a grid the
532
+ cards are already stretched to equal height (align-items: stretch, the default),
533
+ so every footer lines up no matter how much body content each card has — fixes
534
+ the "footer floats in a short card" problem once, here, instead of per call site.
535
+ NOTE: deliberately NO `height: 100%` — an explicit height overrides the grid's
536
+ stretch and, when the grid's own height is indefinite, collapses the card back
537
+ to content height (re-introducing the bug). Stretch alone is the robust path. */
535
538
  .card-col {
536
539
  display: flex;
537
540
  flex-direction: column;
538
- height: 100%;
539
541
  }
540
542
 
541
543
  /* Footer pinned to the bottom of a `.card-col`, with the standard hairline rule.