Amaan - Fix Lesson List styling - #5501
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
iAbhi001
left a comment
There was a problem hiding this comment.
I have tested this PR locally on both Light and Dark modes:
- Verified light mode container structure, padding, and borders against page background.
- Verified dark mode container styling and contrast remain intact.
- Tested "Expand All" / "Collapse All" functionality; lesson cards expand/collapse cleanly with all metadata visible.
- Verified control alignments (Filter, Sort, Export Data).
- Checked DevTools console — no errors or styling conflicts observed.
LGTM! Approved.
DeMoliT1on
left a comment
There was a problem hiding this comment.
Hi @AmaanSyed09,
Tested locally on branch amaan-fix-lesson-list-dark-mode and verified all the changes.
Verified Working
- Verified the Lesson List light-mode page displays a clearly defined inner container against the surrounding page background.
- Verified the container padding, border radius, and border display correctly.
- Switched to dark mode and verified the existing dark-mode container styling remains unchanged.
- Verified Filter, Sort, Tags, Export Data, Expand All, Collapse All, and lesson-card interactions continue to function correctly in both light and dark mode.
Screenshots
Approved!
devangsaraogi
left a comment
There was a problem hiding this comment.
Tested the current PR locally on /bmdashboard/lessonlist with both Administrator and Volunteer accounts.
Verified the updated Lesson List styling in both light and dark mode. The light-mode page has clear separation between the page background and the main Lesson List container, with the border, spacing, padding, and rounded corners displaying correctly. Dark-mode styling also remains consistent.
I also tested the Filter and Sort controls, Tags, Export Data, Expand All, Collapse All, lesson-card behavior, and responsiveness at a narrower browser width. Everything continued to work as expected without visible layout regressions.
No blocking issues found. Approved.



Description
Phase 2 follow-up for the Lesson List page related to the previously merged PR #4528.
The current Lesson List page has inconsistent page-level styling between light mode and dark mode. Dark mode displays the Lesson List content inside a clearly defined container, while light mode does not provide the same visual separation from the surrounding page. The Expand All and Collapse All functionality was also tested and confirmed to work smoothly in both light and dark modes without console errors.
This Phase 2 follow-up improves the Lesson List styling to provide a more consistent container structure across light and dark modes while preserving smooth Expand All and Collapse All functionality and all existing Lesson List behavior.
Related PRS (if any):
Related frontend PR: #4528 – Fix Expand/Collapse All functionality
Related historical PR: #3107
PR #4528 is already merged into development. This PR is a new Phase 2 follow-up and does not modify the historical PR branch.
Main changes explained:
How to test:
amaan-fix-lesson-list-dark-modenpm installif dependencies are not already installed.npm run start:local.http://localhost:5173/bmdashboard/lessonlistScreenshots or videos of changes:
Before:

After:

Note:
This is a new Phase 2 follow-up to the already merged PR #4528. Additional verified Lesson List Phase 2 UI fixes may be added to this PR as testing continues.