theme/search-entry: Tweak the margins a bit

Use a bit less margin at the top and add some margin at the bottom of
the search entry. This should ensure the search entry is closer to the
panel than to the workspaces and avoid associating the workspace
thumbnails with the search instead of the window picker.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1702>
This commit is contained in:
Jonas Dreßler 2021-02-22 12:46:42 +01:00 committed by Marge Bot
parent a27009f926
commit df9129b2a0

View File

@ -11,7 +11,8 @@ $search_entry_height: 36px;
color: transparentize($fg_color,0.3); color: transparentize($fg_color,0.3);
background-color: $bg_color; background-color: $bg_color;
border-color: $borders_color; border-color: $borders_color;
margin-top: 24px; margin-top: $base_spacing * 2;
margin-bottom: $base_spacing;
&:hover { &:hover {
background-color: $hover_bg_color; background-color: $hover_bg_color;
@ -33,4 +34,4 @@ $search_entry_height: 36px;
padding: 0 4px; padding: 0 4px;
color: inherit; color: inherit;
} }
} }