[PR #2506] [MERGED] fix: update button width to fit content in public profile page #2351

Closed
opened 2026-02-26 20:33:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2506
Author: @KarloDerEchte
Created: 2/16/2026
Status: Merged
Merged: 2/23/2026
Merged by: @catalinpit

Base: mainHead: #fix-width


📝 Commits (4)

  • 6360129 fix: update button width to fit content in public profile page
  • 79b33dc Merge branch 'main' into #fix-width
  • d4b2bf8 Merge branch 'main' into #fix-width
  • 3b65ca7 Merge branch 'main' into #fix-width

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 apps/remix/app/routes/_profile+/p.$url.tsx (+1 -1)

📄 Description

Description

This merge request fixes a issue where the width of the Template Use button is too small due to a hardcoded width.
This happens because after a translation the text is longer than the width of the button causing a text overflow.

This changes the width to w-fit to ensure that the button always fits to the width of the text.

Before:
image

After:
image

Changes Made

  • Changed width from w-20 to w-fit in p.$url.tsx

Testing Performed

  • Tested after building, looks good

Checklist

  • I have tested these changes locally and they work as expected.
  • I have followed the project's coding style guidelines.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/2506 **Author:** [@KarloDerEchte](https://github.com/KarloDerEchte) **Created:** 2/16/2026 **Status:** ✅ Merged **Merged:** 2/23/2026 **Merged by:** [@catalinpit](https://github.com/catalinpit) **Base:** `main` ← **Head:** `#fix-width` --- ### 📝 Commits (4) - [`6360129`](https://github.com/documenso/documenso/commit/63601298d2456b902700ebaf513d59255530fcfc) fix: update button width to fit content in public profile page - [`79b33dc`](https://github.com/documenso/documenso/commit/79b33dcbbc3e8ec4a790a50b63c86d72eb59cd97) Merge branch 'main' into #fix-width - [`d4b2bf8`](https://github.com/documenso/documenso/commit/d4b2bf804980dbbb50069a51837ceae5df4e89c2) Merge branch 'main' into #fix-width - [`3b65ca7`](https://github.com/documenso/documenso/commit/3b65ca798f9c97ce1411e8578fd08aacda9d1cca) Merge branch 'main' into #fix-width ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `apps/remix/app/routes/_profile+/p.$url.tsx` (+1 -1) </details> ### 📄 Description ## Description This merge request fixes a issue where the width of the Template Use button is too small due to a hardcoded width. This happens because after a translation the text is longer than the width of the button causing a text overflow. This changes the width to w-fit to ensure that the button always fits to the width of the text. Before: <img width="1066" height="690" alt="image" src="https://github.com/user-attachments/assets/8aec43ff-9963-43a8-8256-a3e89e443df0" /> After: <img width="989" height="612" alt="image" src="https://github.com/user-attachments/assets/afdcd582-8d32-49b0-b3c9-06ad5a4a2182" /> ## Changes Made - Changed width from w-20 to w-fit in p.$url.tsx ## Testing Performed - Tested after building, looks good ## Checklist - [x] I have tested these changes locally and they work as expected. - [x] I have followed the project's coding style guidelines. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:33:30 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#2351
No description provided.