8000 MWPW-174568: [Preflight] Metadata on hover overlaps with navigation bar by skholkhojaev · Pull Request #4405 · adobecom/milo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MWPW-174568: [Preflight] Metadata on hover overlaps with navigation bar #4405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

skholkhojaev
Copy link
Contributor
@skholkhojaev skholkhojaev commented Jun 16, 2025

Since the navigation bar had a z-index: 10, i lowered the z-index: of the Metadata on hover so that it wouldnt show on top of the navigation bar when scrolling up

Resolves: MWPW-174568

Test URLs:

TEST Link:

@@ -742,7 +742,7 @@ picture:has(.picture-meta) {
picture:hover .picture-meta,
img:hover ~ .picture-meta {
opacity: 1;
z-index: 19;
z-index: 9;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gave it a quick check, seems like chart/list.css has a z-index of 10 for buttons? Ah our z-index strategy is a mess.
Further below in the file, we have a z-index of 103... should that be 9/10 as well?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I honestly don't remember why I chose 19 as the initial value, I checked a few pages and the overlay still seems to show up correctly. I agree that there isn't a z-index strategy and it's all over the place 😞

QA should definitely test this on a more extensive list of pages to ensure the information is still being surfaced correctly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI: I made another change because @hit11757 noticed that the metadata still overlaps with the navigation on mobile so i lowered the z-index of .picture-meta to 3.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also change the z-index for the performance LCP modal?

@@ -742,7 +742,7 @@ picture:has(.picture-meta) {
picture:hover .picture-meta,
img:hover ~ .picture-meta {
opacity: 1;
z-index: 19;
z-index: 9;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I honestly don't remember why I chose 19 as the initial value, I checked a few pages and the overlay still seems to show up correctly. I agree that there isn't a z-index strategy and it's all over the place 😞

QA should definitely test this on a more extensive list of pages to ensure the information is still being surfaced correctly.

@hit11757 hit11757 self-assigned this Jun 16, 2025
Copy link
Contributor
aem-code-sync bot commented Jun 16, 2025
Page Scores Audits Google
📱 / PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ / PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

Copy link
Contributor
@hit11757 hit11757 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@milo-pr-merge milo-pr-merge bot merged commit d7ac15b into adobecom:stage Jun 16, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0