feat: responsive attribute card layout with fluid scaling (Closes #5) #46

Merged
shahondin1624 merged 1 commits from feature/issue-5-responsive-attribute-card-layout into main 2026-03-13 13:09:44 +01:00

Summary

  • Replace hardcoded Modifier.width(90.dp) with Modifier.weight(1f) for fluid attribute name sizing
  • Add TextOverflow.Ellipsis + maxLines = 1 as safety net against truncation
  • Add fillMaxWidth() to outer Row and proper alignment for consistent rendering at all widths

Closes #5

## Summary - Replace hardcoded `Modifier.width(90.dp)` with `Modifier.weight(1f)` for fluid attribute name sizing - Add `TextOverflow.Ellipsis` + `maxLines = 1` as safety net against truncation - Add `fillMaxWidth()` to outer Row and proper alignment for consistent rendering at all widths Closes #5
shahondin1624 added 1 commit 2026-03-13 13:09:38 +01:00
Replace hardcoded Modifier.width(90.dp) with Modifier.weight(1f) so
attribute name text fills available space. Add TextOverflow.Ellipsis
and maxLines=1 as safety net. Cards now render correctly from compact
(~140dp) to expanded (~300dp) widths without truncation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
shahondin1624 merged commit f0c0f5f80e into main 2026-03-13 13:09:44 +01:00
shahondin1624 deleted branch feature/issue-5-responsive-attribute-card-layout 2026-03-13 13:09:44 +01:00
Sign in to join this conversation.