Skip to content

Fix row alignment when delete is disabled

What does this MR do and why?

In a previous MR we moved the delete tag button in a dropdown, and hid the dropdown when is not possible to delete, we hid it by removing the button, this cause a miss alignment when one of the tags can't be deleted but the rest can. This MR fixes it by leaving the button in place and:

  • Disabling it
  • Setting the opacity to 0
  • Disallowing pointer events

Screenshots or screen recordings

Before After
Screenshot_2021-10-11_at_14.53.22 Screenshot_2021-10-11_at_15.17.32

How to set up and validate locally

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

  1. Enable the container registry
  2. Add one image
  3. Navigate to the iamge tags list

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #336933 (closed)

Edited by Nicolò Maria Mezzopera

Merge request reports