Fix double scroll in labels dropdown on MR sidebar
What does this MR do and why?
Limit the sidebar height css rule to not apply to every form in the sidebar
Before it made the inside of the labels dropdown the same height as the page. This could mean either double scrollbars if you had lots of labels, or lots of space at the bottom of the dropdown if you didn't have so many labels.
before | also before | after |
---|---|---|
- Enable the flag
Feature.enable(:moved_mr_sidebar)
- Visit any MR page
- Click the Labels dropdown
- Check that dropdown inside is the correct height (i.e. not the height of the page)
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.
Edited by Simon Knox