254 frontend responsive mobile layout and rtl support for courses pages#277
Merged
smattymatty merged 2 commits intomainfrom Feb 13, 2026
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR Template CheckAll checks passed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Responsive Mobile Layout and RTL Support for Courses Pages
Description
Makes all courses pages mobile-friendly with proper RTL (Arabic) support, matching the responsive quality of the slideshow and profile pages.
Closes #254
Mandatory Checklist
mainWhat Changed
CourseListPage (
CourseListPage.tsx)max-height+opacityinstead of conditional renderingborder-l-*toborder-s-*(enrolled indicator),text-left/righttotext-start/endon table headers and cells,right-3toend-3on dropdown chevron,pr-10tope-10on visibility button,rtl:rotate-180on pagination arrowsCourseDetailPage (
CourseDetailPage.tsx)w-full sm:w-auto), withjustify-centerfor centered textflex-col sm:flex-row)p-4 sm:p-8)CourseFormPage (
CourseFormPage.tsx)sm:hidden) so buttons are always accessible while scrolling the formhidden sm:block), inline as before on desktoph-20spacer on mobile so form content doesn't hide behind the sticky barhandleSubmitintodoSubmitto share logic between form submit and mobile bar buttonEnrollmentActions (
EnrollmentActions.tsx)w-full sm:w-autowithjustify-centerfor proper mobile stackingMembersTab (
MembersTab.tsx)p-1.5/w-4 h-4top-2.5/w-5 h-5(44x44px touch targets per Apple HIG)!pl-2 !pr-8to!ps-2 !pe-8on HardLoadSelectModulesTab (
ModulesTab.tsx)p-2.5 sm:p-1.5andw-5 h-5 sm:w-4 sm:h-4(44px on mobile, compact on desktop)ConfirmationModal (
ConfirmationModal.tsx)max-w-sm sm:max-w-md(smaller on phones)max-h-[90vh] overflow-y-autofor long contentright-4toend-4on close buttoni18n (
en.json,ar.json)course.list.filtersLabelkey ("Filters" / "فلاتر")Tests (
CourseListPage.test.tsx)How to Test
cd Frontend/EduLiteFrontend && npm run devCourse List Page (
/courses/meand/courses/public)Course Detail Page (
/courses/:id)Course Form Page (
/courses/new)RTL Testing
Run Tests
Screenshots (if applicable)