Project

General

Profile

Actions

Feature #44071

open

Make context menu width flexible to avoid wrapping labels

Added by Go MAEDA about 12 hours ago. Updated about 12 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
Resolution:

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

Also available in: Atom PDF