From 966a4bb8c877662aa6011b44a15c3654c416ddea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Mur=C3=A7a?= Date: Thu, 7 Jul 2022 15:42:47 -0300 Subject: [PATCH] Adjust AssignmentCard responsiveness --- src/components/AssignmentCard/styles.js | 2 +- src/screens/Home/View.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/AssignmentCard/styles.js b/src/components/AssignmentCard/styles.js index fd3c857..dee21ac 100644 --- a/src/components/AssignmentCard/styles.js +++ b/src/components/AssignmentCard/styles.js @@ -1,7 +1,7 @@ // ========== Desktop ========== const desktopCardContainer = classrooms => ({ position: 'relative', - width: '100%', + width: '35em', borderLeft: `5px solid ${classrooms[0].color}`, }); diff --git a/src/screens/Home/View.js b/src/screens/Home/View.js index 0d7ddc3..0cb1cd0 100644 --- a/src/screens/Home/View.js +++ b/src/screens/Home/View.js @@ -56,7 +56,7 @@ function View({ layoutType, classrooms, assignments, onClickClassCard }) { )) @@ -130,7 +130,7 @@ function View({ layoutType, classrooms, assignments, onClickClassCard }) { key={i} variant="rectangular" width="100%" - height={245} + height={190} /> )) ) : assignments.length !== 0 ? (