-
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
[#10941] Copying questions requires scrolling the whole list of current questions #10961
[#10941] Copying questions requires scrolling the whole list of current questions #10961
Conversation
Hi @Jellwood, these parts of your pull request do not appear to follow our contributing guidelines:
|
Hello thanks for contributing to teammates! Could you please record a short gif/video demonstrating your fix for the modal? |
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
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.
The code looks fine to me.
However, the original issue has another small checkbox fix proposal.
You can either attempt it here or modify PR description to 'Part of #10941'.
Sorry about that, I'll try to get it working and having the checkboxes size up |
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.
Checkbox scaling looks good to me.
td { | ||
text-align: center; | ||
vertical-align: middle; | ||
} |
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.
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.
Speaking for myself: I'd prefer the original look. That allows reading in a more natural manner.
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.
For UI decisions such as this one, best to check with @damithc
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.
Previously we have standardized that such tables with text should be left-aligned (i.e. original)
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.
I can make those changes and have them in tomorrow if need be. That was my bad, I forgot that the earlier demo questions tended to have shorter questions that appeared to have centered check boxes and I did not want to break that alignment in adding scaling. If the original left-aligned is the standard, I can go back and make sure everything fits that standard.
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.
@t-cheepeng was involved in standardizing this kind of UI issues. @t-cheepeng do we have a document of the decisions taken? If not, we should.
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.
@damithc Yes, we do have a document for this. But it was not made made public/posted on github
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.
@damithc Yes, we do have a document for this. But it was not made made public/posted on github
I see. Let's add it to our docs. At least a public link to the Google doc.
Thank you for your contribution! :) |
Fixes #10941
PR Checklist
Outline of Solution
The footer was attached by moving all of the styling of the modal footer and the table in the modal window within the super CSS file for the modal window for copying. Once the footer was the appropriate width, the height was fixed to allow for a table border the same height so that the footer does not interfere with the last question. The behavior was preserved from the clip shown in the issue and the table did not change any functionalities.