From cf85eb45376f936857e0b0c23be9587007330aac Mon Sep 17 00:00:00 2001
From: Przemek Kaminski <pk@intrepidus.pl>
Date: Fri, 20 Nov 2020 09:41:13 +0100
Subject: [PATCH] [docstable] styling fix

---
 dist/styles/Styles.css                   | 6 +++++-
 dist/styles/Styles.sass                  | 7 +++++--
 src/Gargantext/Components/DocsTable.purs | 6 ++++--
 3 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/dist/styles/Styles.css b/dist/styles/Styles.css
index 71edb250..296e83a3 100644
--- a/dist/styles/Styles.css
+++ b/dist/styles/Styles.css
@@ -22,8 +22,12 @@
   top: 50%;
 }
 
-.table .doc-chooser {
+.table .column-tag {
+  align-items: center;
+}
+.table .column-tag .doc-chooser {
   cursor: pointer;
+  padding: 10px;
 }
 
 /*# sourceMappingURL=Styles.css.map */
diff --git a/dist/styles/Styles.sass b/dist/styles/Styles.sass
index f98b9ceb..1ad8c0e6 100644
--- a/dist/styles/Styles.sass
+++ b/dist/styles/Styles.sass
@@ -19,5 +19,8 @@
     top: 50%
 
 .table
-  .doc-chooser
-    cursor: pointer
+  .column-tag
+    align-items: center
+    .doc-chooser
+      cursor: pointer
+      padding: 10px
diff --git a/src/Gargantext/Components/DocsTable.purs b/src/Gargantext/Components/DocsTable.purs
index 9cecce7c..ed72eb05 100644
--- a/src/Gargantext/Components/DocsTable.purs
+++ b/src/Gargantext/Components/DocsTable.purs
@@ -376,8 +376,10 @@ pagePaintRawCpt = R.hooksComponentWithModule thisModule "pagePaintRawCpt" cpt wh
             row dv@(DocumentsView r) =
               { row:
                 T.makeRow [ -- H.div {} [ H.a { className, style, on: {click: click Favorite} } [] ]
-                  caroussel { category: cat, nodeId, row: dv, session, setLocalCategories } []
-                , docChooser { listId, mCorpusId, nodeId: r._id, sidePanelTriggers } []
+                  H.div { className: "column-tag flex" } [
+                    caroussel { category: cat, nodeId, row: dv, session, setLocalCategories } []
+                  , docChooser { listId, mCorpusId, nodeId: r._id, sidePanelTriggers } []
+                  ]
                 --, H.input { type: "checkbox", defaultValue: checked, on: {click: click Trash} }
                 -- TODO show date: Year-Month-Day only
                 , H.div { style } [ R2.showText r.date ]
-- 
2.21.0