appDisplay: Make page previews fill allocation

Instead of hardcoding the width of the page previous, allow them
to fill the allocated space.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>
This commit is contained in:
Georges Basile Stavracas Neto 2022-06-14 16:58:19 -03:00 committed by Marge Bot
parent 6c00e0fda4
commit 3281c03aea
2 changed files with 2 additions and 4 deletions

View File

@ -125,8 +125,6 @@ $app_icon_size: 96px;
} }
.page-navigation-hint { .page-navigation-hint {
width: 300px;
&.dnd { &.dnd {
background: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.1);
} }

View File

@ -461,7 +461,7 @@ var BaseAppView = GObject.registerClass({
reactive: false, reactive: false,
x_expand: true, x_expand: true,
y_expand: true, y_expand: true,
x_align: Clutter.ActorAlign.END, x_align: Clutter.ActorAlign.FILL,
y_align: Clutter.ActorAlign.FILL, y_align: Clutter.ActorAlign.FILL,
}); });
@ -472,7 +472,7 @@ var BaseAppView = GObject.registerClass({
reactive: false, reactive: false,
x_expand: true, x_expand: true,
y_expand: true, y_expand: true,
x_align: Clutter.ActorAlign.START, x_align: Clutter.ActorAlign.FILL,
y_align: Clutter.ActorAlign.FILL, y_align: Clutter.ActorAlign.FILL,
}); });