From ff7b8e68c5b1f3b39421f71fc36fccf26be60087 Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Thu, 19 Nov 2026 16:56:10 -0800 Subject: [PATCH 1/2] Centre the phone Omnibar when no language picker sits beside it On a phone the field kept 60px on its right for the language picker even where the application shows none, so it sat left of centre. It now keeps 16px either side, and leaves the picker its room only while it is there. --- src/ui/views/panels/Omnibar.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ui/views/panels/Omnibar.vue b/src/ui/views/panels/Omnibar.vue index 8e08b8d70e..9bdcd2e1c6 100644 --- a/src/ui/views/panels/Omnibar.vue +++ b/src/ui/views/panels/Omnibar.vue @@ -1347,10 +1347,14 @@ small { calc(var(--mobile-sheet-cover, 0px) + 6px) ); left: auto; - inset-inline: 16px 60px; + inset-inline: 16px; width: auto; transform: none; } +/* The language picker sits at the right edge beside the field; the field leaves it room. */ +:global(body.mobile-shell:has(#locale-picker) #gev-omnibar) { + inset-inline: 16px 60px; +} /* A lifted timeline leaves less map above the credits on short phones. */ @media (max-height: 480px) { :global(body.mobile-shell:has(#world-timeline) #gev-omnibar) { From 41e988606cdabe566553a6b3f810ac5a91f41752 Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Thu, 19 Nov 2026 16:56:19 -0800 Subject: [PATCH 2/2] Add the changelog entry for #1872 --- changelog.d/1872-omnibar-centred.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelog.d/1872-omnibar-centred.md diff --git a/changelog.d/1872-omnibar-centred.md b/changelog.d/1872-omnibar-centred.md new file mode 100644 index 0000000000..d41b20d91e --- /dev/null +++ b/changelog.d/1872-omnibar-centred.md @@ -0,0 +1,3 @@ +- On a phone the search field is centred when no language picker sits beside + it, instead of keeping the picker's room empty on its right (samehkhamis, + #1872).