Correctly use the base element in HighlightedLabel (#7397)

This PR updates the `HighlightedLabel` to correctly render its base
element, which is the one that receives the styling properties, instead
of rendering a new `LabelLike`.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-02-05 13:21:07 -05:00 committed by GitHub
parent 8911e1b365
commit ce62404e24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -36,7 +36,7 @@ pub trait LabelCommon {
#[derive(IntoElement)]
pub struct LabelLike {
pub(crate) size: LabelSize,
size: LabelSize,
line_height_style: LineHeightStyle,
pub(crate) color: Color,
strikethrough: bool,