Merge pull request #1872 from bilawalsidhu/samehkhamis/omnibar-centred

Centre the phone Omnibar when no language picker sits beside it
This commit is contained in:
Sameh Khamis authored and GitHub committed 2026-11-19 17:42:36 -08:00
commit 7f2dc81cf6
2 files changed
+8 -1

No files matched your search

+3
View File
@@ -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).
+5 -1
View File
@@ -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) {