Skip to content

Fix flex layout for invite link card button#133

Merged
janhesters merged 1 commit intomainfrom
claude/fix-invite-link-overflow-4wSdz
Mar 7, 2026
Merged

Fix flex layout for invite link card button#133
janhesters merged 1 commit intomainfrom
claude/fix-invite-link-overflow-4wSdz

Conversation

@janhesters
Copy link
Copy Markdown
Owner

Summary

Added the flex utility class to the invite link button to ensure proper flexbox layout and alignment of its contents.

Changes

  • Added flex class to the invite link button's className in the InviteLinkCard component
    • This ensures the button properly uses flexbox layout for its child elements
    • Complements the existing items-center class for vertical centering

Details

The invite link button element was missing the flex display property, which could cause alignment issues with its contents. By adding the flex utility class alongside the existing items-center class, the button now properly centers its content both horizontally and vertically.

https://claude.ai/code/session_01Ae14K22uQbNN2AYBZRkgjy

The link text wasn't truncating properly because the <a> element
lacked flex display, preventing the inner truncate span from working.

https://claude.ai/code/session_01Ae14K22uQbNN2AYBZRkgjy
@janhesters janhesters force-pushed the claude/fix-invite-link-overflow-4wSdz branch from b4ee1c9 to e104f8f Compare March 7, 2026 16:40
@janhesters janhesters merged commit 61024a5 into main Mar 7, 2026
5 checks passed
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.

2 participants