From 60dd90dc94fd0642e5ce89e00f50526d87a4547d Mon Sep 17 00:00:00 2001 From: Tatiana Cherednichenko Date: Tue, 15 Jun 2021 12:00:57 +0300 Subject: [PATCH] fix: table head cell vertical position --- src/ui/atoms/table/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/atoms/table/index.tsx b/src/ui/atoms/table/index.tsx index 5098b183..11081962 100644 --- a/src/ui/atoms/table/index.tsx +++ b/src/ui/atoms/table/index.tsx @@ -28,6 +28,8 @@ export const Tbody = styled.tbody` `; export const Th = styled.th` + display: flex; + align-items: center; box-sizing: border-box; max-width: var(--local-cell-max-width); padding: var(--local-vertical) var(--local-horizontal); @@ -38,6 +40,7 @@ export const Th = styled.th` `; export const Td = styled.td` + display: flex; box-sizing: border-box; max-width: var(--local-cell-max-width); padding: var(--local-vertical) var(--local-horizontal);