From 57d98fc83cc66e58ace55802a5db2990df6ba8a3 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Sat, 20 Apr 2024 16:50:48 +0300 Subject: [PATCH] fix(dashboard): spaces between cards --- src/pages/Dashboard/Dashboard.tsx | 45 ++++++++++++------------------- 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/src/pages/Dashboard/Dashboard.tsx b/src/pages/Dashboard/Dashboard.tsx index 008c865e..f0426e59 100644 --- a/src/pages/Dashboard/Dashboard.tsx +++ b/src/pages/Dashboard/Dashboard.tsx @@ -37,7 +37,7 @@ const Dashboard = () => { style={{ display: 'grid', gridTemplateColumns: width < 1400 ? '1fr' : '1fr 1fr', - gap: '15px', + gap: '14px', gridAutoFlow: 'row', width: '100%', }} @@ -56,38 +56,27 @@ const Dashboard = () => { {width < 1400 ? ( DashboardLayout(width) ) : ( - - - - - - + + + + +
- - - - - - - - - - - - +
+ + + )}
@@ -108,7 +97,7 @@ const DashboardLayout = (width: number) => { style={{ display: 'grid', gridTemplateColumns: width < 1240 ? '1fr 1fr' : '1fr 1fr 1fr 1fr', - gap: '15px', + gap: '14px', }} >