fix: Table Multiselect checkbox alignment

This commit is contained in:
Tolulope Adetula 2022-04-19 09:40:42 +01:00
parent bb5d7159c6
commit a892aa678d
2 changed files with 6 additions and 3 deletions

View File

@ -435,8 +435,12 @@ export const CellWrapper = styled.div<{
`;
export const CellCheckboxWrapper = styled(CellWrapper)<{ isChecked?: boolean }>`
justify-content: center;
width: 40px;
&&& {
justify-content: center;
width: 40px;
padding: 0px;
align-items: center;
}
& > div {
${(props) =>
props.isChecked

View File

@ -484,7 +484,6 @@ export const renderCheckBoxHeaderCell = (
isChecked={!!checkState}
onClick={onClick}
role="columnheader"
style={{ padding: "0px", justifyContent: "center" }}
>
<CellCheckbox>
{checkState === 1 && <CheckBoxCheckIcon className="th-svg" />}