Skip to content

Fix CSS: Update Dropdown Z-Index for Proper Layering

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
image image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Open the To-Do List
  2. Reduce the vertical height of the browser window so that all dialogs open upward
  3. Click the "Snooze" action on a to-do item
  4. Make sure the search icon is not appearing in front of the dialog.
Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading