odoo/o-spreadsheet#3855

Created by BI, Adrien Minne (adrm)
label
odoo:17.0-menu-item-align-adrm
head
037a4d5875efc1da5295eab09fca883e5023cb2f
target
17.0
merged
2 months ago by BI, Lucas Lefèvre (lul)
forward-ports

[FIX] menu: non-aligned menu items

## Description

If the menu items were too long, and that the menu item had a blank space in place of an icon, the menu texts were not aligned properly because of a flex shrink.

Task: : [3814222](https://www.odoo.com/web#id=3814222&action=333&active_id=2328&model=project.task&view_type=form&cids=1&menu_id=4720)

## review checklist

- [ ] feature is organized in plugin, or UI components
- [ ] support of duplicate sheet (deep copy)
- [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
- [ ] in model/UI: ranges are strings (to show the user)
- [ ] undo-able commands (uses this.history.update)
- [ ] multiuser-able commands (has inverse commands and transformations where needed)
- [ ] new/updated/removed commands are documented
- [ ] exportable in excel
- [ ] translations (\_t("qmsdf %s", abc))
- [ ] unit tested
- [ ] clean commented code
- [ ] track breaking changes
- [ ] doc is rebuild (npm run doc)
- [ ] status is correct in Odoo