odoo/o-spreadsheet#8430

Created by fw-bot
Merged at fb86c104885167e6f6953d55bf95c4d273627389

Statuses:

label
odoo:saas-19.1-18.0-fix-chart-type-picker-layout-on-hover-rmbh-517789-fw
head
b5ec6e0b28fec8a246d5f67a6d31d8d1017aea20
merged
5 days ago by Ronakkumar Mukeshbhai Bharadiya (rmbh)
odoo/o-spreadsheet
18.0 #8307
saas-18.2 #8426
saas-18.3 #8427
saas-18.4 #8428
19.0 #8429
saas-19.1 #8430
saas-19.2 #8432
master #8433

[FIX] side_panel: prevent chart picker layout shift on hover

Description:

Current behavior before PR:
- Hovering or selecting a chart type was adding a border while reducing padding to compensate for the size change.
- At non-100% zoom levels, fractional pixel rounding caused inconsistent sizing, leading to layout shifts in the flex container.
- This resulted in chart icons 'dancing' when moving the cursor between them.

Desired behavior after PR is merged:
- A transparent border is applied in the default state to reserve space.
- On hover/selection, only the border color is updated without changing padding.
- This ensures consistent element dimensions and prevents layout shifts across all zoom levels.

Task: 6095239

review checklist

Forward-Port-Of: #8307