Project

General

Profile

Actions

Feature #44071

closed

Make context menu width flexible to avoid wrapping labels

Added by Go MAEDA 22 days ago. Updated 21 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Resolution:
Fixed

Description

The context menu currently uses a fixed inline-size: 150px.

This can cause longer translated labels to wrap unexpectedly. For example, after r24653, the Users context menu can show "Remove from group". In Japanese this is translated as "グループから解除" (#44070), which wraps because the menu width is fixed.

This patch changes inline-size to min-inline-size to allow the menu to grow when a label needs more space, while keeping the existing 150px minimum width.

It also changes the submenu offsets from fixed 148px values to 100%, so submenus continue to open next to the parent menu when the parent width expands.

Before:

After:


Files

Actions #1

Updated by Go MAEDA 22 days ago

  • File 0001-Make-context-menu-width-flexible-to-avoid-wrapping-l.patch added
  • File deleted (0001-Make-context-menu-width-flexible-to-avoid-wrapping-l.patch)
Actions #2

Updated by Go MAEDA 21 days ago

I updated the patch. I added max-inline-size property so the context menu width does not become excessively large.

Actions #3

Updated by Go MAEDA 21 days ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch in r24670.

Actions

Also available in: Atom PDF