From 257264cd4a2f3f2dc56a3d8cce9575c9aadc967a Mon Sep 17 00:00:00 2001 From: rishabhsharma1997 Date: Tue, 9 Jul 2024 13:37:20 +0530 Subject: [PATCH 1/2] fix: styling issue of learning-card Signed-off-by: rishabhsharma1997 --- src/custom/LearningCard/style.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/custom/LearningCard/style.tsx b/src/custom/LearningCard/style.tsx index 683d33e6..c9b8e28b 100644 --- a/src/custom/LearningCard/style.tsx +++ b/src/custom/LearningCard/style.tsx @@ -2,8 +2,8 @@ import { styled } from '@mui/material/styles'; import { BLACK, ONYX_BLACK, SILVER_GRAY, WHITE } from '../../theme'; const CardWrapper = styled('div')({ - maxWidth: '28rem', - minHeight: '16rem', + width: '28rem', + height: '16rem', margin: 'auto', borderRadius: '1rem' }); From a25a09ad58eae0729989568c52c639bed50721a4 Mon Sep 17 00:00:00 2001 From: rishabhsharma1997 Date: Tue, 9 Jul 2024 15:33:01 +0530 Subject: [PATCH 2/2] fix: learning path note component Signed-off-by: rishabhsharma1997 --- src/custom/Note/Note.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/custom/Note/Note.tsx b/src/custom/Note/Note.tsx index a90b495e..09eef230 100644 --- a/src/custom/Note/Note.tsx +++ b/src/custom/Note/Note.tsx @@ -12,8 +12,8 @@ const NoteWrapper = styled('div')(({ type, theme }) => ({ background: '#212529', color: 'inherit', marginTop: '2rem', - width: '80%', - height: '80%', + width: '100%', + height: '100%', marginBottom: '2rem', padding: '0.5rem 1rem', borderRadius: 0,