From a416a5d6a8f6135c729106196eacb9b0372b52ce Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Tue, 25 Jul 2023 14:27:33 +0200 Subject: [PATCH] stack_hover: Fix styling --- src/shell/element/stack_hover.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/shell/element/stack_hover.rs b/src/shell/element/stack_hover.rs index fc4d3bea..966ba27a 100644 --- a/src/shell/element/stack_hover.rs +++ b/src/shell/element/stack_hover.rs @@ -33,7 +33,7 @@ impl Program for StackHoverInternal { .force_svg(true) .style(theme::Svg::Symbolic) .apply(container) - .padding(8) + .padding([0, 8, 0, 0]) .width(Length::Shrink) .apply(container) .center_y() @@ -42,9 +42,8 @@ impl Program for StackHoverInternal { text(fl!("stack-windows")) .font(cosmic::font::FONT) .size(24) - .line_height(24.) + .line_height(1.3) .apply(container) - .padding(8) .width(Length::Shrink) .apply(container) .center_y() @@ -54,7 +53,7 @@ impl Program for StackHoverInternal { .width(Length::Shrink) .height(Length::Shrink) .apply(container) - .padding(4) + .padding([8, 16]) .style(theme::Container::custom(|theme| container::Appearance { text_color: Some(Color::from(theme.cosmic().palette.neutral_9)), background: Some(Background::Color(theme.cosmic().palette.neutral_3.into())),