From aaf354f4dc0d79af8bef55ac9fc628c29debdd4b Mon Sep 17 00:00:00 2001
From: xaralis <filip.varecha@fragaria.cz>
Date: Sun, 2 Aug 2020 13:19:13 +0200
Subject: [PATCH] Fix overflow: hidden bug in candidate-table-row

---
 source/css/molecules/candidate-table-row.pcss | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/source/css/molecules/candidate-table-row.pcss b/source/css/molecules/candidate-table-row.pcss
index c9dae1e..35ed99e 100644
--- a/source/css/molecules/candidate-table-row.pcss
+++ b/source/css/molecules/candidate-table-row.pcss
@@ -33,17 +33,18 @@
 }
 
 .candidate-table-row__name {
-  @apply pl-6 pr-4;
+  @apply pl-6 pr-4 py-1;
   grid-area: name;
 }
 
 .candidate-table-row__bio {
+  /* py-1 here to avoid overflow: hidden cutting Č Ř characters etc. */
   @apply truncate py-1 pl-6 pr-4;
   grid-area: bio;
 }
 
 .candidate-table-row__affiliation {
-  @apply flex items-center justify-start whitespace-no-wrap pl-6 pr-4;
+  @apply flex items-center justify-start whitespace-no-wrap py-1 pl-6 pr-4;
   grid-area: affiliation;
 }
 
@@ -68,7 +69,7 @@
   }
 
   .candidate-table-row__bio {
-    @apply border-l border-grey-125 py-0 px-8;
+    @apply border-l border-grey-125 px-8;
   }
 
   .candidate-table-row__affiliation {
-- 
GitLab