Page MenuHomePhabricator

Button, Radio: text is not vertically centered in MediaWiki context in Firefox
Open, In Progress, LowestPublicBUG REPORT

Assigned To
None
Authored By
AnneT
May 3 2022, 4:53 PM
Referenced Files
F37627243: image.png
Aug 24 2023, 6:17 PM
F35168687: image.png
May 23 2022, 8:05 AM
F35151682: Screen Shot 2022-05-18 at 10.36.49 AM.png
May 18 2022, 2:39 PM
F35151173: image.png
May 18 2022, 10:43 AM
F35097531: Screen Shot 2022-05-03 at 12.26.51 PM.png
May 3 2022, 4:53 PM

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:
The button text is not vertically centered (slightly too high)

Screen Shot 2022-05-03 at 12.26.51 PM.png (100×238 px, 7 KB)

Same with Radio:

image.png (102×658 px, 16 KB)

What should have happened instead?:
The text should be vertically centered.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
Codex v0.1.0-alpha.5
Firefox 100.0

Event Timeline

I have investigated the issue and I have been able to replicate it neither in the current main nor by checking out main on and before May the 3rd.

I have used: Chrome, Firefox and also Browserstack version of Safari.

Below is a quick image of each button and some guidelines to show their alignment and they all align perfectly. The browserstack button seem slightly smaller, but it has the right sizes in pixel wise:

image.png (54×300 px, 7 KB)

@AnneT Any chance you could try to reproduce and see if it is still a problem on your current environment

Hey @SimoneThisDot, yep, I'm still seeing this (only in a MediaWiki context, only in Firefox):

Screen Shot 2022-05-18 at 10.36.49 AM.png (88×206 px, 7 KB)

The vertical spacing is correct on the docs site.

Hei Anne, unfortunately, I do not seem to be able to help here as I cannot replicate the issue not even in the wiki environment.

I have checked my buttons and I have the correct 10 pixels on top and bottom, differently from yours, as you can see I have aligned my components to yours too to show the difference.

image.png (32×267 px, 4 KB)

All this has been done on the suggested page: https://test.wikidata.org/wiki/User:Zvpunry/CodexDemo (after enabling the code)

Please let me know if have further input for me to try and help you, or we could ask Ezekiel maybe to help us replicate it. I have a windows machine and from what I can see from your screenshot you have a high density screen (your button is 64pixels).

ldelench_wmf subscribed.

Moving from sprint to backlog; please holler if there's a reason to bump up the priority.

AnneT renamed this task from Button text is not vertically centered in MediaWiki context in Firefox to Button, Radio: text is not vertically centered in MediaWiki context in Firefox.Aug 24 2023, 6:17 PM
AnneT updated the task description. (Show Details)
Volker_E added a subscriber: SimoneThisDot.