fix: keyboard list background

This commit is contained in:
Ashley Wulber 2024-03-06 15:44:48 -05:00 committed by Michael Murphy
parent 87f8e4bd4b
commit 958d9ba164

View file

@ -67,7 +67,12 @@ impl SpecialKey {
fn popover_menu_row(label: String) -> cosmic::Element<'static, Message> {
widget::text(label)
.apply(widget::container)
.style(cosmic::theme::Container::List)
.style(cosmic::theme::Container::custom(|theme| {
iced_style::container::Appearance {
background: None,
..container::StyleSheet::appearance(theme, &cosmic::theme::Container::List)
}
}))
.apply(button)
.style(theme::Button::Transparent)
.into()