Fix CSS: Update Dropdown Z-Index for Proper Layering
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do and why?
This MR fixes an issue where the Search icon overlaps the Snooze Options dialog. The bug can be reproduced by following these steps:
- Open the To-Do List
- Reduce the vertical height of the browser window so that all dialogs open upward
- Click the "Snooze" action on a to-do item
To fix this issue, I've made the following changes:
- Increased the issue line item's z-index from 1 to 2 so the dropdown overlays the Search button
- Previously, the dropdown inherited a z-index of 1, causing it to appear beneath the Search icon
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Open the To-Do List
- Reduce the vertical height of the browser window so that all dialogs open upward
- Click the "Snooze" action on a to-do item
- Make sure the search icon is not appearing in front of the dialog.
Edited by 🤖 GitLab Bot 🤖