Actions
Feature #44071
closedMake context menu width flexible to avoid wrapping labels
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
Updated by Go MAEDA 21 days ago
- File 0001-Make-context-menu-width-flexible-to-avoid-wrapping-l.patch 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)
I updated the patch. I added max-inline-size property so the context menu width does not become excessively large.
Actions