Skip to content

[stable-0.1] fix(editor): fit translated labels into the menus - #428

Merged
AndyScherzinger merged 1 commit into
stable-0.1from
backport/424/stable-0.1
Oct 22, 2026
Merged

AndyScherzinger merged 1 commit into
stable-0.1from
backport/424/stable-0.1

Conversation

@AndyScherzinger

Copy link
Copy Markdown
Member

Backport of #424 to stable-0.1. Fixes #141 and #160 for Nextcloud 32–35.

Labels in the right-click menu and theme names in the theme picker no longer get cut off in longer translations: they wrap and are centred in their buttons.

Cherry-picked without changes. I checked the rendering in headless Firefox (see #424), but not in a running Nextcloud.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

Bootstrap's .label rule keeps the labels of the right-click menu on one
line, so longer labels such as "Arrange Up" or "Neuer Geschwisterknoten"
were cut off at the edge of the round buttons. Let them wrap, break long
words, use a smaller font and centre them in the button.

The theme picker's buttons have a fixed size as well, so wrap theme
names such as "Kompakt runde Knoten" instead of letting them overflow.

Fixes #141
Fixes #160

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
(cherry picked from commit cf08e7d)
@AndyScherzinger AndyScherzinger added bug Something isn't working AI assisted This PR contains AI-assisted commits labels Oct 21, 2026
@AndyScherzinger AndyScherzinger added this to the v0.1.5 milestone Oct 21, 2026
@AndyScherzinger
AndyScherzinger merged commit c32877e into stable-0.1 Oct 22, 2026
7 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/424/stable-0.1 branch October 22, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI assisted This PR contains AI-assisted commits bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant