odoo/o-spreadsheet#8432

Created by fw-bot
Merged at dcd5903f24cdad2d00b5ab76aa4a385b5d6c6cad

Statuses:

label
odoo:saas-19.2-18.0-fix-chart-type-picker-layout-on-hover-rmbh-517790-fw
head
890a20763ba46f055b1e0470b1a1fe88d398c61f
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: #8430
Forward-Port-Of: #8307