Page MenuHomePhabricator

TypeaheadSearch: Search footer icon shrinks at 14px base font size
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

The search footer icon is shrinking to 35px wide, while the result thumbnails remain 40px wide. This causes a misalignment between the result text and the search footer text.

image.png (1×928 px, 245 KB)

What should have happened instead?:

The icon should be 40px wide like the thumbnails, so the text is aligned with the results.

image.png (1×920 px, 239 KB)

Software version (skip for WMF-hosted wikis like Wikipedia): Codex v0.5.0

Other information (browser name/version, screenshots, etc.):

Related Objects

StatusSubtypeAssignedTask
Resolvedegardner
ResolvedNone
OpenNone
OpenNone
Duplicate STH
InvalidNone
ResolvedVolker_E
ResolvedCatrope
ResolvedVolker_E
ResolvedNone
Resolvedbmartinezcalvo
ResolvedVolker_E
ResolvedVolker_E
ResolvedVolker_E
ResolvedVolker_E
Resolvedldelench_wmf
ResolvedVolker_E
Resolved EUdoh-WMF
ResolvedSarai-WMDE
Resolved DAbad
ResolvedVolker_E
Resolvedbmartinezcalvo
Resolved KieranMcCann
OpenNone
DuplicateNone
ResolvedVolker_E
Resolved DAbad
ResolvedVolker_E
Resolved DAbad
ResolvedSarai-WMDE
ResolvedVolker_E
ResolvedVolker_E
ResolvedVolker_E
ResolvedVolker_E
ResolvedSarai-WMDE
ResolvedVolker_E
Resolvedbmartinezcalvo
ResolvedCatrope
Resolved DAbad
ResolvedVolker_E
OpenNone
ResolvedCatrope
Resolvedovasileva
ResolvedBUG REPORTVolker_E

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 888014 had a related patch set uploaded (by VolkerE; author: VolkerE):

[design/codex@main] TypeaheadSearch, styles: Prevent footer icon container from shrinking

https://gerrit.wikimedia.org/r/888014

Test wiki created on Patch demo by ATomasevich (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/26cc40e1ed/w

Also created a Codex documentation site:
https://patchdemo.wmflabs.org/wikis/26cc40e1ed/w/build/codex/docs

Change 888014 merged by jenkins-bot:

[design/codex@main] TypeaheadSearch, styles: Prevent footer icon container from shrinking

https://gerrit.wikimedia.org/r/888014

Restricted Application triaged this task as High priority. · View Herald TranscriptFeb 9 2023, 3:16 PM

I think this bug really happened because https://gerrit.wikimedia.org/r/c/mediawiki/core/+/869852 was merged without https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/886438. That combination leads to Vector receiving styles meant for a 16px base font size, so all the em values are a little too small. However, Volker's patch probably does still solve a real issue, just a different one (which is that you'd see the same shrinkage if you set the browser's font size scaling to 87.5%).

Change 886438 had a related patch set uploaded (by Jdlrobson; author: Catrope):

[mediawiki/skins/Vector@master] Use the wikimedia-ui-legacy theme for Codex component styles

https://gerrit.wikimedia.org/r/886438

Change 886438 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Use the wikimedia-ui-legacy theme for Codex component styles

https://gerrit.wikimedia.org/r/886438

Change 889230 had a related patch set uploaded (by Anne Tomasevich; author: Anne Tomasevich):

[mediawiki/core@master] Update Codex from v0.5.0 to v0.6.0

https://gerrit.wikimedia.org/r/889230

Test wiki created on Patch demo by ATomasevich (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/66d018802f/w

Change 889230 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.5.0 to v0.6.0

https://gerrit.wikimedia.org/r/889230

Volker_E claimed this task.
Volker_E added a subscriber: bmartinezcalvo.

Test wiki on Patch demo by ATomasevich (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/66d018802f/w/

Test wiki on Patch demo by ATomasevich (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/26cc40e1ed/w/