Fix two expand buttons on MR widgets when page width is narrow
What does this MR do and why?
On the MR details page, there are some MR widgets. When the page width is narrow, two expand/collapse button are shown for each MR widget:
Peek_2022-09-27_15-39 |
This MR fixes it so that there's only arrow:
Peek_2022-09-27_15-49 |
How to set up and validate locally
- Clone this project: https://staging.gitlab.com/secure-team-test/denied-licenses-test
- Use the Web IDE to make an edit on a new branch and create a MR for it.
- Go to the MR details page and mark it as a draft.
- Wait for the MR pipeline to finish running.
- Verify that you see the
License Compliance
widget and theMerge blocked
widget. - Reduce the width of the page until the expand/collapse button shows in the
Merge blocked
widget. Verify that theLicense Compliance
widget only has one button, and that it toggles the license compliance details.
Numbered steps to set up and validate the change are strongly suggested.
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 #375209 (closed)
Edited by Daniel Tian