minor fix
This commit is contained in:
parent
391bb51ab0
commit
d384b248e5
@ -128,7 +128,7 @@ export const CourseCard = ({ course }: CourseCardProps) => {
|
|||||||
<Collapse className={classes.expanded} in={isSelected} timeout="auto" unmountOnExit>
|
<Collapse className={classes.expanded} in={isSelected} timeout="auto" unmountOnExit>
|
||||||
{groups.map((group, index) => (
|
{groups.map((group, index) => (
|
||||||
<ClassGroupStyled key={index} onClick={() => onGroupClick(group, course.id)}>
|
<ClassGroupStyled key={index} onClick={() => onGroupClick(group, course.id)}>
|
||||||
<TypeClass>{group.type === 'CLASS' ? 'Ćw.' : 'Wyk.'}</TypeClass>
|
<TypeClass>{group.type === 'CLASS' ? 'ĆW' : 'WYK'}</TypeClass>
|
||||||
<p>
|
<p>
|
||||||
{group.time} {group.room} <br></br> {group.lecturer}
|
{group.time} {group.room} <br></br> {group.lecturer}
|
||||||
</p>
|
</p>
|
||||||
|
@ -97,7 +97,7 @@ const ClassWrap = styled.div`
|
|||||||
const TextWrapper = styled.div`
|
const TextWrapper = styled.div`
|
||||||
flex: 1;
|
flex: 1;
|
||||||
width: inherit;
|
width: inherit;
|
||||||
padding: 0 5px 5px 5px;
|
padding: 0 3px 5px 3px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
`;
|
`;
|
||||||
|
Loading…
Reference in New Issue
Block a user