diff --git a/school/public/css/style.css b/school/public/css/style.css index 31bcf871..a6bbcbe9 100644 --- a/school/public/css/style.css +++ b/school/public/css/style.css @@ -1487,3 +1487,32 @@ pre { .live-courses .course-home-headings { margin-bottom: 1.5rem; } + +@media (min-width: 768px) { + .lesson-pagination .custom-checkbox .empty-checkbox { + width: 1rem; + height: 1rem; + border-radius: 4px; + } +} + +@media (max-width: 767px) { + .lesson-pagination .custom-checkbox .empty-checkbox { + margin-bottom: 1rem; + border-radius: 4px; + } + + .lesson-pagination .custom-checkbox span { + display: inline-block; + width: 70%; + font-size: 10px; + } +} + +.lesson-pagination .custom-checkbox input:checked+.empty-checkbox { + background-size: 1rem; +} + +.no-discussions { + width: 80% !important; +} diff --git a/school/www/batch/learn.html b/school/www/batch/learn.html index ad1bca49..793ebd8b 100644 --- a/school/www/batch/learn.html +++ b/school/www/batch/learn.html @@ -79,27 +79,30 @@ {% if not course.is_mentor(frappe.session.user) and membership %} - - {% if course.get_progress(lesson.name) != "Complete" %} -