Skip to content

Fix FileChip text truncation issue#65

Merged
py-bay merged 1 commit intomainfrom
64-filechip-komponente-schneidet-text-zu-früh-ab
Oct 11, 2025

Hidden character warning

The head ref may contain hidden characters: "64-filechip-komponente-schneidet-text-zu-fr\u00fch-ab"
Merged

Fix FileChip text truncation issue#65
py-bay merged 1 commit intomainfrom
64-filechip-komponente-schneidet-text-zu-früh-ab

Conversation

@py-bay
Copy link
Copy Markdown
Contributor

@py-bay py-bay commented Oct 10, 2025

Summary

  • Removed hardcoded maxWidth: "300px" from Typography component in FileChip
  • Text now uses full available container space before truncating
  • Ellipsis (...) only appears when text actually reaches container edge

Changes

  • Modified src/components/FileChip/FileChip.tsx:221 to remove artificial width constraint

Test Plan

  • Verify FileChip components display full filename when space is available
  • Confirm truncation only occurs at actual container boundaries
  • Test with various filename lengths and container sizes

Fixes #64

🤖 Generated with Claude Code

Remove hardcoded maxWidth of 300px from Typography component to allow
text to use full available space. Text will now only truncate when it
actually reaches the container edge.

Fixes #64

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@py-bay py-bay linked an issue Oct 10, 2025 that may be closed by this pull request
@github-actions github-actions bot requested a review from EcoFreshKase October 10, 2025 20:00
@py-bay py-bay merged commit 88375df into main Oct 11, 2025
6 checks passed
@py-bay py-bay deleted the 64-filechip-komponente-schneidet-text-zu-früh-ab branch October 11, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FileChip-Komponente schneidet Text zu früh ab

2 participants