-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fix #3972: Fixed the faulty vertical offset #6030
Fix #3972: Fixed the faulty vertical offset #6030
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #6030 +/- ##
===========================================
- Coverage 45.3% 45.27% -0.03%
===========================================
Files 520 521 +1
Lines 30667 30688 +21
Branches 4597 4597
===========================================
+ Hits 13893 13894 +1
- Misses 16774 16794 +20
Continue to review full report at Codecov.
|
Thanks @rakshitkumarcse for fixing this. This has been a long standing issue. Just curious, what is the rationale behind this fix? |
@nithusha21 The display property of css helps us define the type of rendering box of an element. I found this issue interesting and important for our organization at the same time. So decided to work on it and experiment different solutions. This worked the best. |
Hi @rakshitkumarcse @nithusha21, I was looking to test this PR but I'm not able to reproduce the issue. It's written in the issue that it occurs only in certain window size. Could you tell me what browser and what zoom level (or window size) are you using to reproduce this? Thanks |
@bansalnitish I reproduced the issue on full window size in firefox. |
Thanks, I'll check. |
@tjiang11 Can you please review this PR? |
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 @rakshitkumarcse, This seems to fix the issue, good job:).
I have one question, can we now remove display:block
from this line https://github.com/oppia/oppia/pull/6030/files#diff-b75a64eee8fa969ba98f2ac55f98fceeR370 ? If yes, could you please do that? Make sure you test it before and after removing.
Thanks
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 @rakshitkumarcse ! Will merge after Nitish thinks it's good.
@bansalnitish @tjiang11 Thanks for the review. |
LGTM! |
Explanation
Fixes #3972 : Fixed the faulty vertical offset by changing the style of div with class "oppia-learner-playlist-tiles" in learner_dashboard.html
Checklist
python scripts/pre_commit_linter.py
andbash scripts/run_frontend_tests.sh
.