ui: Update Label component (#24653)
- Standardize style methods - Convert label story to a component preview - update component preview styles Release Notes: - N/A
This commit is contained in:
parent
aab3e0495d
commit
2d71733490
27 changed files with 182 additions and 151 deletions
|
@ -461,7 +461,7 @@ impl Item for ChannelView {
|
|||
.child(
|
||||
Label::new(channel_name)
|
||||
.color(params.text_color())
|
||||
.italic(params.preview),
|
||||
.when(params.preview, |this| this.italic()),
|
||||
)
|
||||
.when_some(status, |element, status| {
|
||||
element.child(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue