[Bugfix:CourseMaterials] Fix Course Materials Header Wrap#12067
[Bugfix:CourseMaterials] Fix Course Materials Header Wrap#12067
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #12067 +/- ##
=========================================
Coverage 21.69% 21.69%
Complexity 9587 9587
=========================================
Files 268 268
Lines 36591 36591
Branches 475 475
=========================================
Hits 7940 7940
Misses 28180 28180
Partials 471 471
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Overall, code is more intuitive and the UI is now consistent across multiple browsers on varying screen sizes. One small change I noticed when on mobile scale:
Since we have multiple instances of this div:
<div class="action-buttons" style="float: right; margin-bottom: 20px;">
It doesn't wrap cleanly. To fix, take the Mark all viewed anchor out of there and remove the div, then add that anchor to the top of the other action buttons div with the other 3 anchors.
Once that is addressed, I am ready to approve!
JManion32
left a comment
There was a problem hiding this comment.
Code is significantly more intuitive, and UI is consistent on different browsers and screen sizes. Great work!


Why is this Change Important & Necessary?
Currently, there is an issue that causes the Course Materials page header to wrap improperly. Additionally, the position and spacing of the key on this page was awkwardly centered, and somewhat cramped. These changes address the wrapping issue, and improve the appearance of the key.
This change Fixes #12002.
What is the New Behavior?
Before( on Chrome):

After (on chrome):

After (Mobile):

What steps should a reviewer take to reproduce or test the bug or new feature?
Ideally, this should be tested across multiple browsers and themes.
Other information
This is not a breaking change.