minor fix

This commit is contained in:
Maciek Głowacki 2020-11-25 09:14:25 +01:00
parent 391bb51ab0
commit d384b248e5
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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;
`; `;