Commit 6fe3601
This PR cherry-picks changes from the original PR #12085 to branch 25.2.
---
#### Original PR description
> ### Motivation
>
> In base styles, `--vaadin-breadcrumbs-font-size` did not control the
font size of items inside `vaadin-breadcrumbs-overlay`, unlike Lumo and
Aura.
>
> ### Reproduction
>
> ```css
> vaadin-breadcrumbs {
> --vaadin-breadcrumbs-font-size: 12px;
> }
> ```
>
> The overflow overlay items stayed at the default 16px.
>
> ### Changes
>
> Overlay items are slotted into the overlay's shadow content, so they
inherit `font-size` from the overlay content in the flattened tree, not
from the breadcrumbs host. Set `font-size` from the variable directly on
the item host, matching Lumo and Aura. The `1em` fallback resolves to
the inherited value, so rendering is unchanged when the variable is
unset.
>
> Fixes #12012
>
> ---
>
> 🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Sascha Ißbrücker <sissbruecker@vaadin.com>
1 parent 2ead7f1 commit 6fe3601
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments