fix: Table Multiselect checkbox alignment
This commit is contained in:
parent
bb5d7159c6
commit
a892aa678d
|
|
@ -435,8 +435,12 @@ export const CellWrapper = styled.div<{
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const CellCheckboxWrapper = styled(CellWrapper)<{ isChecked?: boolean }>`
|
export const CellCheckboxWrapper = styled(CellWrapper)<{ isChecked?: boolean }>`
|
||||||
justify-content: center;
|
&&& {
|
||||||
width: 40px;
|
justify-content: center;
|
||||||
|
width: 40px;
|
||||||
|
padding: 0px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
& > div {
|
& > div {
|
||||||
${(props) =>
|
${(props) =>
|
||||||
props.isChecked
|
props.isChecked
|
||||||
|
|
|
||||||
|
|
@ -484,7 +484,6 @@ export const renderCheckBoxHeaderCell = (
|
||||||
isChecked={!!checkState}
|
isChecked={!!checkState}
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
role="columnheader"
|
role="columnheader"
|
||||||
style={{ padding: "0px", justifyContent: "center" }}
|
|
||||||
>
|
>
|
||||||
<CellCheckbox>
|
<CellCheckbox>
|
||||||
{checkState === 1 && <CheckBoxCheckIcon className="th-svg" />}
|
{checkState === 1 && <CheckBoxCheckIcon className="th-svg" />}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user