collab: Tweak screen selector appearance (#34919)
Co-authored-by: Danilo Leal <daniloleal09@gmail.com> Release Notes: - N/A Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
This commit is contained in:
co-authored by
Danilo Leal
parent
4272c1508e
commit
708c2645d1
@@ -84,7 +84,9 @@ impl RenderOnce for List {
|
||||
(false, _) => this.children(self.children),
|
||||
(true, Some(false)) => this,
|
||||
(true, _) => match self.empty_message {
|
||||
EmptyMessage::Text(text) => this.child(Label::new(text).color(Color::Muted)),
|
||||
EmptyMessage::Text(text) => {
|
||||
this.px_2().child(Label::new(text).color(Color::Muted))
|
||||
}
|
||||
EmptyMessage::Element(element) => this.child(element),
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user