diff --git a/src/components/CourseCard.tsx b/src/components/CourseCard.tsx index cf3a267..ad7d482 100644 --- a/src/components/CourseCard.tsx +++ b/src/components/CourseCard.tsx @@ -56,7 +56,7 @@ const ClassExandIconStyled = styled.img` transform: ${(props) => (props.isSelected ? 'scaleY(-1);' : 'scaleY(1);')}; `; -const TypeClass = styled.div` +const TypeClass = styled.div` font-size:12px; position:absolute; border-radius:15px; @@ -119,7 +119,7 @@ export const CourseCard = ({ course }: CourseCardProps) => { .sort((a, b) => b.type.localeCompare(a.type)) .map((group, index) => ( onGroupClick(group, course.id)}> - {group.type==="CLASS"? "Ćw." : "Wyk."} + {group.type==="CLASS"? "Ćw." : "Wyk."}

{group.time} {group.room}

{group.lecturer}