@kolkrabbi/kol-component 0.283.0 → 0.284.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-component",
3
- "version": "0.283.0",
3
+ "version": "0.284.0",
4
4
  "description": "The core component library",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -274,7 +274,10 @@ export default function ContentCard({
274
274
  '--kol-plate-pad': padding,
275
275
  '--kol-plate-pad-md': box.padMd,
276
276
  padding,
277
- marginTop: box.layout === 'stack' && !noMedia ? box.mediaGap : undefined,
277
+ /* a fill-card with no cover keeps its frame and its plate keeps the FOOT — dropping the media
278
+ * box had floated the plate to the top over an empty frame (user 2026-10-22: "the text section
279
+ * is supposed to be on the bottom") */
280
+ marginTop: box.layout === 'stack' && !noMedia ? box.mediaGap : box.layout === 'fill-card' && noMedia ? 'auto' : undefined,
278
281
  borderTop: (plateRule ?? box.plateTop) ? '1px solid var(--kol-fg-04)' : undefined,
279
282
  background: box.layout === 'drawer' ? 'var(--kol-surface-inverse)' : box.plateBg,
280
283
  color: box.layout === 'drawer' ? 'var(--kol-fg-inverse)' : undefined,