Page MenuHomePhabricator

Sticky header: manage z-index of ULS & sticky header
Closed, ResolvedPublic2 Estimated Story Points

Description

Description

Currently if you open the ULS from the top of the page, then scroll down a bit (with the ULS still open) until the sticky header appears, you will notice that the ULS overlaps the sticky header. This is not correct. The ULS (if opened from the top of the page) should have a lower z-index than the sticky header.

NOTE: it is also possible to open the ULS from the sticky header (see T295391), in which case it should have a higher z-index than the sticky header.

QA Results - Beta

ACStatusDetails
1T295794#7556685

QA Results - Prod

ACStatusDetails
1T295794#7579252

Event Timeline

This looks like it should be a straightforward CSS change. The overlays are set to 1000 and the sticky header is set to 4, we could simply update the overlay to match the other menu overlays (i.e. user menu) and have a value of 3. We do need a way to distinguish between the ULS at the top of the page and the one in the sticky header however, similar to T295391. Edit: nevermind, they both have unique ids

bwang removed bwang as the assignee of this task.Nov 16 2021, 11:02 PM

Change 740718 had a related patch set uploaded (by Jdrewniak; author: Jdrewniak):

[mediawiki/extensions/UniversalLanguageSelector@master] Lower .uls-menu z-index for Vector skin

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

Change 740718 merged by jenkins-bot:

[mediawiki/extensions/UniversalLanguageSelector@master] Lower .uls-menu z-index for Vector skin

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

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Monterey
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1: The ULS (if opened from the top of the page) should have a lower z-index than the sticky header.

Screen Recording 2021-12-08 at 8.35.15 AM.mov.gif (640×860 px, 949 KB)

Edtadros subscribed.

Test Result - Prod

Status: ✅ PASS
Environment: enwiki
OS: macOS Monterey
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1: The ULS (if opened from the top of the page) should have a lower z-index than the sticky header.

Screen Recording 2021-12-18 at 12.31.20 PM.mov.gif (932×858 px, 2 MB)

Note: @ovasileva , I created a task T297999 for the coordinates overlapping the page image. Hopefully it's not a dupe.

All done on this one. @Edtadros - it was actually a dupe, but thank you for opening anyhow!