Skip to content

Truncate location text in sidebar job cards#982

Merged
kevmodrome merged 1 commit intostagingfrom
kevmodrome/truncate-sidebar-location
Feb 3, 2026
Merged

Truncate location text in sidebar job cards#982
kevmodrome merged 1 commit intostagingfrom
kevmodrome/truncate-sidebar-location

Conversation

@kevmodrome
Copy link
Member

Add min-w-0 to location span to allow flex item to shrink below content width, enabling the inner truncate class to activate and show ellipsis for long location text that would otherwise overflow the card.

Changes

  • Added min-w-0 to the location text flex container in SidebarJobs component

Testing

Sidebar job cards with long location text should now show ellipsis instead of overflowing beyond the card width.

Add min-w-0 to location span to allow flex item to shrink below content width, enabling the inner truncate class to activate and show ellipsis for long location text that would otherwise overflow the card.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

✅ Unit Test Results

Status: All Tests Passed

Test Summary

  • ✅ Passed: 152
  • ❌ Failed: 0
  • 📊 Total: 152

Coverage

  • 🔧 Functions: 86.11%
  • 📝 Lines: 85.28%

View detailed results

@kevmodrome kevmodrome merged commit ce2d52d into staging Feb 3, 2026
2 checks passed
@kevmodrome kevmodrome deleted the kevmodrome/truncate-sidebar-location branch February 3, 2026 21:20
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

✅ Playwright Test Results

Status: All Tests Passed

  • ✅ Passed: 292
  • ❌ Failed: 0
  • 📊 Total: 292

View detailed HTML report

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.

1 participant