fix: fix the invalid vertical-align (#486)

* fix: fix the invalid vertical-align

* test: update snapshots
This commit is contained in:
Bowen
2021-03-21 21:46:13 +08:00
committed by GitHub
parent d351700d04
commit 502da720f1
7 changed files with 17 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ exports[`Table should be no erros when width is too large 1`] = `
font-weight: normal;
text-align: left;
letter-spacing: 0;
vertical-align: center;
vertical-align: middle;
min-height: 2.5rem;
color: #666;
background: #fafafa;
@@ -91,7 +91,7 @@ exports[`Table should render children for table head 1`] = `
font-weight: normal;
text-align: left;
letter-spacing: 0;
vertical-align: center;
vertical-align: middle;
min-height: 2.5rem;
color: #666;
background: #fafafa;
@@ -169,7 +169,7 @@ exports[`Table should render correctly 1`] = `
font-weight: normal;
text-align: left;
letter-spacing: 0;
vertical-align: center;
vertical-align: middle;
min-height: 2.5rem;
color: #666;
background: #fafafa;
@@ -247,7 +247,7 @@ exports[`Table should set width automatically 1`] = `
font-weight: normal;
text-align: left;
letter-spacing: 0;
vertical-align: center;
vertical-align: middle;
min-height: 2.5rem;
color: #666;
background: #fafafa;
@@ -325,7 +325,7 @@ exports[`Table should work with other components 1`] = `
font-weight: normal;
text-align: left;
letter-spacing: 0;
vertical-align: center;
vertical-align: middle;
min-height: 2.5rem;
color: #666;
background: #fafafa;
@@ -403,7 +403,7 @@ exports[`Table should work without hover effect 1`] = `
font-weight: normal;
text-align: left;
letter-spacing: 0;
vertical-align: center;
vertical-align: middle;
min-height: 2.5rem;
color: #666;
background: #fafafa;

View File

@@ -64,7 +64,7 @@ const TableHead: React.FC<TableHeadProps> = ({ columns, width }) => {
font-weight: normal;
text-align: left;
letter-spacing: 0;
vertical-align: center;
vertical-align: middle;
min-height: 2.5rem;
color: ${theme.palette.accents_5};
background: ${theme.palette.accents_1};