[PR #2524] fix: prevent long template description from hiding action buttons #2367

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2524
Author: @slegarraga
Created: 2/21/2026
Status: 🔄 Open

Base: mainHead: fix/template-description-overflow


📝 Commits (1)

  • d03fe8e fix: prevent long template description from hiding action buttons

📊 Changes

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

View changed files

📝 apps/remix/app/components/tables/settings-public-profile-templates-table.tsx (+6 -4)

📄 Description

Problem

Long descriptions in public profile templates cause the UI layout to break, hiding critical action buttons (Edit, Delete, Copy Shareable Link) in the settings page.

Fixes #2472

Solution

Added overflow constraints to the template description in the settings public profile templates table:

  • min-w-0 + flex-1 on the text container so it properly shrinks within the flex layout instead of overflowing
  • truncate on the title to handle long titles with ellipsis
  • line-clamp-2 on the description to limit it to 2 visible lines
  • min-w-0 on the inner text wrapper to enable proper flex shrinking

This ensures the action dropdown menu (⋯) always remains visible and accessible regardless of description length.

Notes

The public profile page (p.$url.tsx) already has line-clamp-3 on descriptions — this fix brings the same overflow handling to the settings/management view.


🔄 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/2524 **Author:** [@slegarraga](https://github.com/slegarraga) **Created:** 2/21/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/template-description-overflow` --- ### 📝 Commits (1) - [`d03fe8e`](https://github.com/documenso/documenso/commit/d03fe8e4b09c54b5cacdb48a01de354e7b46f3f2) fix: prevent long template description from hiding action buttons ### 📊 Changes **1 file changed** (+6 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `apps/remix/app/components/tables/settings-public-profile-templates-table.tsx` (+6 -4) </details> ### 📄 Description ## Problem Long descriptions in public profile templates cause the UI layout to break, hiding critical action buttons (Edit, Delete, Copy Shareable Link) in the settings page. Fixes #2472 ## Solution Added overflow constraints to the template description in the settings public profile templates table: - **`min-w-0` + `flex-1`** on the text container so it properly shrinks within the flex layout instead of overflowing - **`truncate`** on the title to handle long titles with ellipsis - **`line-clamp-2`** on the description to limit it to 2 visible lines - **`min-w-0`** on the inner text wrapper to enable proper flex shrinking This ensures the action dropdown menu (⋯) always remains visible and accessible regardless of description length. ## Notes The public profile page (`p.$url.tsx`) already has `line-clamp-3` on descriptions — this fix brings the same overflow handling to the settings/management view. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#2367
No description provided.