fix(context-drawer): close button should use link button style

This commit is contained in:
Michael Aaron Murphy 2024-04-26 16:47:28 +02:00 committed by Michael Murphy
parent c091988af4
commit e556148942

View file

@ -57,6 +57,7 @@ impl<'a, Message: Clone + 'static> ContextDrawer<'a, Message> {
button::text("Close") button::text("Close")
.trailing_icon(icon::from_name("go-next-symbolic")) .trailing_icon(icon::from_name("go-next-symbolic"))
.on_press(on_close) .on_press(on_close)
.style(crate::theme::Button::Link)
.apply(container) .apply(container)
.width(Length::FillPortion(1)) .width(Length::FillPortion(1))
.height(Length::Fill) .height(Length::Fill)