fix: context-drawer border & radius
This commit is contained in:
parent
ac95b571ec
commit
84d77281cb
2 changed files with 2 additions and 2 deletions
|
|
@ -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(),
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue