theme: Reduce icon grid spacing

Now that the icons are correctly scaled down and don't cause overlaps
with the spacing anymore, the spacing between icons causes them to be
smaller than they were before. This only affects low resolutions,
because the spacing property is used as a minimum spacing for the app
grid. On higher resolutions the spacing is always larger than this
minimum.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1375
This commit is contained in:
Sebastian Keller 2020-07-26 02:14:17 +02:00 committed by Florian Müllner
parent ab9fb0f351
commit 5dba928154

View File

@ -7,7 +7,7 @@ $app_icon_padding: 24px;
.icon-grid { .icon-grid {
-shell-grid-horizontal-item-size: $app_icon_size + $app_icon_padding * 2; -shell-grid-horizontal-item-size: $app_icon_size + $app_icon_padding * 2;
-shell-grid-vertical-item-size: $app_icon_size + $app_icon_padding * 2; -shell-grid-vertical-item-size: $app_icon_size + $app_icon_padding * 2;
spacing: $base_spacing * 6; spacing: $base_spacing * 4;
.overview-icon { .overview-icon {
icon-size: $app_icon_size; icon-size: $app_icon_size;