Fix buttons on fork modal
What does this MR do and why?
The modal prompting a user to fork a project if they do not have edit permissions but want to edit a file should use viewport-based queries for the layout of its buttons.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Check out this branch
- In the GDK, impersonate a user that does not have edit access to a project
- Try to edit a file in that project as that user
- You will see the "Fork to make changes" modal and it will have correctly laid out buttons.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.