fix: context-drawer border & radius

This commit is contained in:
Ashley Wulber 2024-05-13 13:57:51 -04:00 committed by Michael Murphy
parent ac95b571ec
commit 84d77281cb
2 changed files with 2 additions and 2 deletions

View file

@ -495,7 +495,7 @@ impl container::StyleSheet for Theme {
appearance.border = Border {
color: cosmic.primary.divider.into(),
width: 1.0,
width: 0.0,
radius: cosmic.corner_radii.radius_s.into(),
};

View file

@ -88,8 +88,8 @@ impl<'a, Message: Clone + 'static> ContextDrawer<'a, Message> {
// XXX this is a hack to get around that
drawer: container(
LayerContainer::new(pane)
.style(crate::style::Container::ContextDrawer)
.layer(cosmic_theme::Layer::Primary)
.style(crate::style::Container::ContextDrawer)
.width(Length::Fill)
.height(Length::Fill)
.max_width(480.0),