From 9489d1249e1c2c17095b08facc979c82d0f15cf7 Mon Sep 17 00:00:00 2001 From: JosephMcc Date: Thu, 19 Dec 2024 01:49:36 -0800 Subject: [PATCH] theme: Fix rounding and spacing in GWL window previews (#12571) Fixes rounding in window previews when hovered. Also add a margin to give the window preview the same distance from the panel as menus. --- data/theme/cinnamon-sass/widgets/_windowlist.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/theme/cinnamon-sass/widgets/_windowlist.scss b/data/theme/cinnamon-sass/widgets/_windowlist.scss index 4c8028e0d2..247fb2afc3 100644 --- a/data/theme/cinnamon-sass/widgets/_windowlist.scss +++ b/data/theme/cinnamon-sass/widgets/_windowlist.scss @@ -47,6 +47,7 @@ &-thumbnail-menu { border: 1px solid $borders_color; + margin: 6px; background-color: $bg_color; border-radius: $base_border_radius; box-shadow: 0 0 6px 0 $shadow_color; @@ -56,6 +57,10 @@ .item-box { padding: 10px; spacing: 4px; + border-radius: 0; + + &:first-child { border-radius: $base_border_radius 0 0 $base_border_radius; } + &:last-child { border-radius: 0 $base_border_radius $base_border_radius 0; } &:outlined { border: 2px solid transparentize($fg_color, 0.5);