Fix container scroll and dropdown visible when less space available
What does this MR do and why?
This MR focusses on 2 bugs
This MR changes the way we style work item two column view , we are using container queries now to make sure that in whatevar container the work item will be viewed ( maybe a drawer, modal or full view ) it will render accordingly. Removed media queries and used container styling
This MR applies some styling to the work item dropdowns to be visible with autoPlacement
when less space available.
More context on why we cannot always force it it "down" here
MR acceptance checklist
-
Work item two column view layout should work as expected ( all screen sizes ) -
sticky header should work as expected ( all screen sizes ) -
Drawer view of work items/issuables should work as expected -
Modal view should work as expected -
Work item sidebar view droopdowns should work as expected
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Enable the FF issues_list_drawer
- Go to issues list , and view an "issue" in the drawer, the attributes should not overlap and be in single column
- Open any work item in full view and reduce the screen size by opening the dev console
- See that the right sidebar dropdowns open "down" irrespective of the space available
Related to #457902 (closed)
Edited by Deepika Guliani