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 |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Enable the container registry
- Add one image
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #336933 (closed)
Edited by Nicolò Maria Mezzopera