Adjust AssignmentCard responsiveness

This commit is contained in:
Leonardo Murça 2022-07-07 15:42:47 -03:00
parent 2c768058aa
commit 966a4bb8c8
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
// ========== Desktop ==========
const desktopCardContainer = classrooms => ({
position: 'relative',
width: '100%',
width: '35em',
borderLeft: `5px solid ${classrooms[0].color}`,
});

View file

@ -56,7 +56,7 @@ function View({ layoutType, classrooms, assignments, onClickClassCard }) {
<Skeleton
key={i}
variant="rectangular"
width={390}
width="35em"
height={145}
/>
))
@ -130,7 +130,7 @@ function View({ layoutType, classrooms, assignments, onClickClassCard }) {
key={i}
variant="rectangular"
width="100%"
height={245}
height={190}
/>
))
) : assignments.length !== 0 ? (