-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Stop the icons in the learner view overlapping #3618
Comments
@jacobdavis11 happy to look at a mock if you want to assign a programmer to this. Let's try shrinking them the very minimum amount that will keep them from overlapping (with a slight preference on this end for adding a little more line space instead, as the larger, more legible icons are pretty appealing imo). |
Hi @shubha1593. Thanks for doing this. A couple of things: could you describe whether this mock was arrived at by shrinking the icons or by respacing? If shrinking, could you describe the percentage? Finally (if this was done by shrinking rather than respacing) could you do a mock showing that with the actual avatars? The issue here is whether they become illegible if too small, so it would be great to see that. Thanks! |
Hi @markhalpin, I just moved the top avatar, up by 20px. I made the change in CSS for the top section avatar image, set the 'top' property equal to -20px rather than 0. |
Hi @shubha1593, just to check, does that solution generalize well? For instance if you add another answer/response pair, is there still sufficient spacing? (If you could show a screenshot with answer-response-answer-response-answer, that would be nice.) Thanks! |
Thanks @shubha1593! In that case, pending your reply to @seanlip, LGTM. |
Hi @seanlip, when there are multiple answer-response pair, they are collapsed and hidden, only the latest answer is shown, and when the previous responses are expanded, the corresponding avatars are not shown. So if the avatars are to be shown along with the previous responses too, then the problem of overlap will exist, otherwise I think, it won't. |
OK, sounds good to me. Thanks @shubha1593! Do you want to submit a PR? |
@shubha1593 interesting! Showing the avatar for only the most recent comment is a bit of a departure from the current look, but I don't object to it. Anyone see any issues? If not, LGTM. |
@seanlip, great ! I'll submit a pull request. |
Oops, right you are. Ignore my fried brain please. Anyway, great work @shubha1593 ! |
…date * upstream/develop: (32 commits) Remove erroneous clause in app.yaml. (oppia#3643) Part of oppia#2447: Upgrade select2 library (oppia#3626) Fix part of oppia#2394: Added docstrings in exp_domain.py (oppia#3578) Fix oppia#3618: stop icon overlap (oppia#3642) Add backend functionality to correctly handle needs_update part of subtitled HTML. (oppia#3620) Change 'style' to 'ng-attr-style' in an attempt to fix IE bug in collection viewer. (oppia#3636) Fix typo in Exploration editor (oppia#3637) Update credits (oppia#3633) Fix oppia#2639: Updated Google chart/visualization Library loader code and use async to load the library (oppia#3614) Fix user bios job in the case that user_bio is None (oppia#3632) Update changelog and credits for release 2.5.2 (oppia#3628) Fix oppia#2394: Add docstring to core.domain.user_jobs_continous.py (oppia#3569) Fix oppia#3585: Corrected arrows in exploration progress nav (oppia#3605) change the text edit error message Corrected tense of error message Corrected state to read card Close modal window if clicked outside (oppia#3623) Storage, Domain classes and helper functions for ClassifierExplorationMapping (oppia#3583) removed super admin role from admin interface. (oppia#3621) ...
Currently the icons in the learner view overlap slightly when the feedback text is only one line. We should consider shrinking the icons slightly to avoid this.
The text was updated successfully, but these errors were encountered: