From 703a4c0f53905bf37a923c98a076daae7e5a516f Mon Sep 17 00:00:00 2001
From: Sudarshan Sreeram <sudarshan.sreeram19@imperial.ac.uk>
Date: Fri, 14 Aug 2020 13:33:51 +0530
Subject: [PATCH] Fix card spacing in directory view

---
 .../src/components/molecules/CurrentDirectoryView/index.tsx   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/frontend/src/components/molecules/CurrentDirectoryView/index.tsx b/frontend/src/components/molecules/CurrentDirectoryView/index.tsx
index d04ece0fc..cdf997490 100644
--- a/frontend/src/components/molecules/CurrentDirectoryView/index.tsx
+++ b/frontend/src/components/molecules/CurrentDirectoryView/index.tsx
@@ -104,7 +104,7 @@ class CurrentDirectoryView extends React.Component<CurrentDirectoryViewProps, My
 					checkBoxColur={this.isAnySelected() ? "#495057" : "#dee2e6"}
         />
 
-        <Row style={{ marginTop: "10px" }}>
+        <Row style={{ marginTop: "10px", marginLeft: "-10px", marginRight: "-10px" }}>
           {this.props.documentItems.map(({ title, type, tags, id }) => {
 						let normalIcon : IconDefinition;
 						switch (type) {
@@ -125,7 +125,7 @@ class CurrentDirectoryView extends React.Component<CurrentDirectoryViewProps, My
               lg={4}
               xl={3}
               key={id}
-              style={{ marginBottom: ".5rem", marginTop: ".5rem" }}
+              style={{ marginBottom: ".5rem", marginTop: ".5rem", paddingLeft: "10px", paddingRight: "10px" }}
             >
               <FileCard
                 title={title}
-- 
GitLab