[2.1] Responsive Attribute Card Layout #5

Closed
opened 2026-03-13 11:25:17 +01:00 by shahondin1624 · 0 comments

User Story

As a user, I want attribute cards to scale fluidly, so that names are never truncated.

Acceptance Criteria

  • Remove hardcoded Modifier.width(90.dp) — use Modifier.weight(1f) in Row or fill max width
  • TextOverflow.Ellipsis + maxLines = 1 as safety net
  • Cards render correctly from ~140dp (compact 2-col) to ~300dp (expanded 4-col)

Notes

Affects lib/components/charactermodel/attributespage/Attribute.kt. Depends on 1.4 for grid column count.

## User Story **As a** user, **I want** attribute cards to scale fluidly, **so that** names are never truncated. ## Acceptance Criteria - [ ] Remove hardcoded `Modifier.width(90.dp)` — use `Modifier.weight(1f)` in Row or fill max width - [ ] `TextOverflow.Ellipsis` + `maxLines = 1` as safety net - [ ] Cards render correctly from ~140dp (compact 2-col) to ~300dp (expanded 4-col) ## Notes Affects `lib/components/charactermodel/attributespage/Attribute.kt`. Depends on 1.4 for grid column count.
shahondin1624 added this to the Phase 2: Cards & Grid milestone 2026-03-13 11:25:17 +01:00
shahondin1624 added the epic:cards-reworkpriority:must-have labels 2026-03-13 11:28:02 +01:00
Sign in to join this conversation.