Explain Code inaccessible if content is taller than viewport
Summary
When the Explain Code AI Genie pops up and the content becomes taller than the viewport, the content isn't scrollable so it becomes inaccessible.
Steps to reproduce
- Use the Explain Code https://gitlab.com/gitlab-org/gitlab/-/issues/403727
- After the Ai Genie pops up, resize window to be shorter than the height of the Genie.
- Notice you can't scroll through the content.
Example Project
What is the current bug behavior?
Content is unscrollable.
What is the expected correct behavior?
Content within the Genie is scrollable.
Relevant logs and/or screenshots
Possible fixes
Setting a max-height on the content area of the Genie based on vh and adding overflow: auto could be enough, as a quick fix.
