feat: responsive talent card layout with fluid name scaling (Closes #6) #47

Merged
shahondin1624 merged 1 commits from feature/issue-6-responsive-talent-card-layout into main 2026-03-13 13:10:52 +01:00

Summary

  • Replace hardcoded Modifier.width(150.dp) with Modifier.weight(1f) for fluid talent name sizing
  • Add TextOverflow.Ellipsis + maxLines = 1 as safety net
  • Add widthIn(min = 24.dp) for attribute value and talent value columns to ensure right-alignment
  • Talent cards span full width on compact (1-col) via fillMaxWidth()

Closes #6

## Summary - Replace hardcoded `Modifier.width(150.dp)` with `Modifier.weight(1f)` for fluid talent name sizing - Add `TextOverflow.Ellipsis` + `maxLines = 1` as safety net - Add `widthIn(min = 24.dp)` for attribute value and talent value columns to ensure right-alignment - Talent cards span full width on compact (1-col) via `fillMaxWidth()` Closes #6
shahondin1624 added 1 commit 2026-03-13 13:10:48 +01:00
Replace hardcoded Modifier.width(150.dp) with Modifier.weight(1f) so
talent names like "Aeronautics Mechanic" display fully. Add
TextOverflow.Ellipsis + maxLines=1, widthIn(min=24.dp) for value
columns, and fillMaxWidth() for full-width spanning on compact screens.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
shahondin1624 merged commit 2dd477591b into main 2026-03-13 13:10:52 +01:00
shahondin1624 deleted branch feature/issue-6-responsive-talent-card-layout 2026-03-13 13:10:52 +01:00
Sign in to join this conversation.