Document Creator 0.4.4: Tighter document and template cards
Document Creator 0.4.4 fixes the layout of the document and template cards in the grid view.
Extra padding from the card styles stacked on top of the card’s own spacing. It left a gap of about 24 pixels between the thumbnail and the title, and an empty band under the action buttons. Both are gone.
In narrow cards, the category and type pickers no longer cut off their last option: they shrink together and wrap to a second row when needed. The table view keeps its pickers side by side, as before.
Full release notes: Document Creator 0.4.4
0.4.4 · 29 May 2026
Fixed
- Documents/Templates card layout. daisyUI’s default
.card-bodypadding (1.5rem) was stacking on top of the card’s custom inner spacing, leaving a ~24px gap between the thumbnail and the title and a dead band under the action buttons; the card now zeroes.card-bodypadding via[&_.card-body]:p-0(targeting the nested element so a futurecard-sm/card-mdsize variant can’t defeat it). The Category/Type<select>pickers no longer clip their trailing option in narrow cards — in the card view they shrink together and wrap to a second row, while the table-view row keeps the original inline, intrinsic-width pickers.
Changed
- Dependencies refreshed.
phoenix_kit1.7.119 → 1.7.125,phoenix_live_view1.1.30 → 1.1.31,oban2.22.1 → 2.23.0,leaf0.2.13 → 0.2.21,fresco0.5.8 → 0.6.3,etcher0.4.9 → 0.5.3, plusswoosh,ex_aws_sns, anddecimalpatch bumps.
Internal
- Document card render helpers are now declared function components.
render_thumbnail/1,render_language_picker/1, andrender_category_picker/1carryattrdeclarations and are invoked via<.component />, so each call site is validated at compile time; the category picker’s layout variant is now anattr :layout, values: ~w(inline card), default: "inline"and is resolved once into acard?assign. No behavior change.
Document Creator 0.4.4. Install or update: {:phoenix_kit_document_creator, "~> 0.4"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.