diff --git a/apps/web/components/Dashboard/Course/EditCourseStructure/DraggableElements/ActivityElement.tsx b/apps/web/components/Dashboard/Course/EditCourseStructure/DraggableElements/ActivityElement.tsx index 83471570..2792bdab 100644 --- a/apps/web/components/Dashboard/Course/EditCourseStructure/DraggableElements/ActivityElement.tsx +++ b/apps/web/components/Dashboard/Course/EditCourseStructure/DraggableElements/ActivityElement.tsx @@ -144,7 +144,7 @@ function ActivityElement(props: ActivitiyElementProps) { className="bg-transparent text-neutral-700 hover:cursor-pointer hover:text-neutral-900" > updateActivityName(props.activity.id)} /> @@ -154,68 +154,69 @@ function ActivityElement(props: ActivitiyElementProps) { )} setSelectedActivity(props.activity.id)} - size={12} - className="text-neutral-400 hover:cursor-pointer" + className="text-neutral-400 hover:cursor-pointer size-3 min-w-3" /> {/* Edit and View Button */} -
- - {/* Publishing */} -
changePublicStatus()} - > - {!props.activity.published ? ( - - ) : ( - - )} - {!props.activity.published ? 'Publish' : 'Unpublish'} +
+
+ + {/* Publishing */} +
changePublicStatus()} + > + {!props.activity.published ? ( + + ) : ( + + )} + {!props.activity.published ? 'Publish' : 'Unpublish'} +
+ + + Preview + +
+ {/* Delete Button */} +
+ + + +
+ } + functionToExecute={() => deleteActivityUI()} + status="warning" + >
- - - Preview - -
- {/* Delete Button */} -
- - - -
- } - functionToExecute={() => deleteActivityUI()} - status="warning" - >
)}