-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#12344] Instructor courses page: fix margin of copy instructors from other courses modal on mobile #12389
[#12344] Instructor courses page: fix margin of copy instructors from other courses modal on mobile #12389
Conversation
Hi @b-walton, solution looks fine at a glance, but do fix the lint issues before we do a complete review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @b-walton, while this solution works, I think we should implement it in a way that is consistent with the rest of the modals. In particular, you can take a look at the copy-questions-from-other-sessions-modal
component to see what I mean (involves setting min-width
instead). Do let me know if you require any clarification.
Don't forget to update your branch with the latest changes, and re-request a review when you're ready!
Are there any likely reasons for why the E2E tests fail? |
Hmm E2E tests can fail (for frontend changes) if there are changes to page structure / behaviour / element identifiers. However, they might occasionally fail due to the tests being unstable, in which case we will run them again (: Your PR passes all checks, so no worries there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for contributing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #12344
Outline of Solution
Fixes mobile margin by only applying width constraint on media 768 pixels or wider.
(ready for review)
Desktop View:
Mobile View: