summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <wjt@endlessos.org>2023-03-24 16:32:18 +0000
committerWill Thompson <wjt@endlessos.org>2023-03-24 16:32:18 +0000
commitbd204648758eea35a566ce2ab62f2bbefc7fd43e (patch)
treeec528b4c6c045f9e44499034c3b4b2f63cbb9622
parent640cb7c4723d313a47d46362c49a7a50b0b1a2e2 (diff)
downloadgnome-initial-setup-wip/wjt/privacy-page-popover-size.tar.gz
privacy: Increase policy popover widthwip/wjt/privacy-page-popover-size
The [Mozilla Location Service privacy policy][mls] has a CSS breakpoint at 760 wide, beyond which the logo and navigation are shown side-by-side rather than stacked. Increasing the width of this popover slightly to be wider than this breakpoint means that substantially more of the policy can be read without scrolling, and subjectively looks better. The current minimum size of 600×500 is already more than the [HIG-specified][hig] minimum phone size of 360×294. 750×500 is within the smallest recommended display size for GNOME, 1024×600. [mls]: https://location.services.mozilla.com/privacy [hig]: https://developer.gnome.org/hig/guidelines/adaptive.html
-rw-r--r--gnome-initial-setup/pages/privacy/gis-privacy-page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnome-initial-setup/pages/privacy/gis-privacy-page.c b/gnome-initial-setup/pages/privacy/gis-privacy-page.c
index 8c9f47e..96fb258 100644
--- a/gnome-initial-setup/pages/privacy/gis-privacy-page.c
+++ b/gnome-initial-setup/pages/privacy/gis-privacy-page.c
@@ -215,7 +215,7 @@ activate_link (GtkLabel *label,
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), progress_bar);
view = webkit_web_view_new ();
- gtk_widget_set_size_request (view, 600, 500);
+ gtk_widget_set_size_request (view, 760, 500);
gtk_widget_set_hexpand (view, TRUE);
gtk_widget_set_vexpand (view, TRUE);
g_signal_connect (view, "notify::estimated-load-progress",