Comfy-Org / Comfy-Org/ComfyUI_frontend

Make truncation padding on left of node title buttons less aggressive

Open
#4,680 0 comments 0 reactions 0 assignees View on GitHub
area:nodes area:ui enhancement
Dominant language
TypeScript
Stars
2k
Forks
704
Avg merge
1d 8h
Merged PRs (30d)
512

Description

This padding is too wide, we can be a little less aggresive with the truncation threshold:

Image

The truncation and title button logic was added in https://github.com/Comfy-Org/litegraph.js/pull/1186

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4680-Make-truncation-padding-on-left-of-node-title-buttons-less-aggressive-2456d73d365081999cbedf047b92e3b0) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the truncation and title-button logic introduced in pull request #1186. Compare the current node title buttons with the attached screenshot, then adjust the truncation threshold so the left padding is less aggressive; the issue is done when titles retain more space without breaking the button layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.