Skip to content

Commit

Permalink
theme: Fix rounding and spacing in GWL window previews (#12571)
Browse files Browse the repository at this point in the history
Fixes rounding in window previews when hovered. Also add a margin to give the
window preview the same distance from the panel as menus.
  • Loading branch information
JosephMcc authored Dec 19, 2024
1 parent 63b67e4 commit 9489d12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/theme/cinnamon-sass/widgets/_windowlist.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit 9489d12

Please sign in to comment.