[gnome-shell-sass] iconGrid: Use IconGridLayout
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] iconGrid: Use IconGridLayout
- Date: Tue, 11 Aug 2020 15:29:21 +0000 (UTC)
commit 731c5c353cc953647ad6bf7dfbfb41c52c9d7ae8
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue May 19 10:43:10 2020 -0300
iconGrid: Use IconGridLayout
Replace the current grid code with IconGridLayout.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1271
widgets/_app-grid.scss | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/widgets/_app-grid.scss b/widgets/_app-grid.scss
index c2b8f7e..f52a916 100644
--- a/widgets/_app-grid.scss
+++ b/widgets/_app-grid.scss
@@ -1,17 +1,13 @@
/* App Grid */
$app_icon_size: 96px;
-$app_icon_padding: 24px;
// app icons
.icon-grid {
- -shell-grid-horizontal-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;
-
- .overview-icon {
- icon-size: $app_icon_size;
- }
+ row-spacing: $base_spacing * 6;
+ column-spacing: $base_spacing * 6;
+ max-row-spacing: $base_spacing * 12;
+ max-column-spacing: $base_spacing * 12;
}
/* App Icons */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]