Skip to content

fix(ui): prevent event type slug from overflowing its container#28792

Draft
jaydeep-pipaliya wants to merge 1 commit intocalcom:mainfrom
jaydeep-pipaliya:fix/event-type-slug-overflow
Draft

fix(ui): prevent event type slug from overflowing its container#28792
jaydeep-pipaliya wants to merge 1 commit intocalcom:mainfrom
jaydeep-pipaliya:fix/event-type-slug-overflow

Conversation

@jaydeep-pipaliya
Copy link
Copy Markdown

What does this PR do?

Fixes #28533

Long event type slugs on the app installation page (e.g. /apps/installation/event-types?slug=discord) overflowed their container and broke the layout on smaller screens.

Root cause

The slug is rendered in a <small> element with sm:inline display. Inline elements ignore overflow: hidden, so long slugs had no truncation.

Fix

Changed sm:inlinesm:inline-block and added max-w-xs overflow-hidden text-ellipsis so long slugs truncate with an ellipsis instead of overflowing.

Changes

  • apps/web/components/apps/installation/EventTypesStepCard.tsx — 1 line change

Long event type slugs on the app installation page overflowed their
container and broke the layout. Changed the slug <small> element from
inline to inline-block and added max-width with text-ellipsis so long
URLs truncate cleanly instead of overflowing.

Fixes calcom#28533
@github-actions github-actions bot added the 🐛 bug Something isn't working label Apr 8, 2026
Copy link
Copy Markdown
Member

@sahitya-chandra sahitya-chandra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a before/after video of the changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Responsive Layout Bug: Long URL/Slug Input Field Overflows on Screens

2 participants