mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-24 04:15:54 +08:00
fix: fix the invalid vertical-align (#486)
* fix: fix the invalid vertical-align * test: update snapshots
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user