-
Notifications
You must be signed in to change notification settings - Fork 56
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
[ENG-4091] Linked Projects Modal Close Button #2018
[ENG-4091] Linked Projects Modal Close Button #2018
Conversation
Pull Request Test Coverage Report for Build 6482853446
💛 - Coveralls |
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.
Were you able to replicate the problem in the ticket? I can't seem to replicate the same issue as described in the ticket. However it seems that the dialog header is not visible in horizontal mode. If this is the problem that you're trying to fix, I think special-casing for smaller screen sizes is perhaps not the way to go, especially when the problem persists for wider screens of similar heights.
lib/osf-components/addon/components/osf-dialog/heading/styles.scss
Outdated
Show resolved
Hide resolved
Hi @adlius, the max-height has been adjusted to accommodate the screen size. I am not sure what code you looked at, but it had not been placed in review. Please take a look now that the PR is ready and let me know if you have any questions. |
Yes, the changes were originally for mobile devices. Following our conversation, consideration for the navbar and the fact that it overlaps the modal upon open as well as does not provide functionality when displayed now have resulted in changes to account for all screen sizes including mobile where the z-index has been raised from 900 to 1100. |
Purpose
The purpose of these changes is to make the header 'x' close button and the footer 'Close' button both display on the OsfDialog modal when turning mobile view horizontally.
Summary of Changes
Screenshot(s)
Side Effects
There should be no side effects from these changes.
QA Notes
-Does the modal properly display in mobile view when rotated horizontally?
-Does the modal still display properly in desktop and tablet view?
-Are you able to click both the 'x' close and the 'Close' button within the modal when rotated?
-Are there any views that have been otherwise affected by these changes?