diff --git a/src/components/GenerateCourse/AICourseModuleView.tsx b/src/components/GenerateCourse/AICourseModuleView.tsx index 4e067040e..0c6de22c8 100644 --- a/src/components/GenerateCourse/AICourseModuleView.tsx +++ b/src/components/GenerateCourse/AICourseModuleView.tsx @@ -193,7 +193,7 @@ export function AICourseModuleView(props: AICourseModuleViewProps) { return (
-
+
{(isGenerating || isLoading) && (
-

+

{currentLessonTitle?.replace(/^Lesson\s*?\d+[\.:]\s*/, '')}

{!error && isLoggedIn() && (
)} @@ -281,27 +281,27 @@ export function AICourseModuleView(props: AICourseModuleViewProps) { onClick={onGoToPrevLesson} disabled={cantGoBack} className={cn( - 'flex items-center rounded-full px-4 py-2 disabled:opacity-50', + 'flex items-center rounded-full px-4 py-2 disabled:opacity-50 max-lg:px-3 max-lg:py-1.5 max-lg:text-sm', cantGoBack ? 'cursor-not-allowed text-gray-400' : 'bg-gray-100 text-gray-700 hover:bg-gray-200', )} > - Previous Lesson + Previous  Lesson