Web: Client: Data Import: correct table spacings in tablet view

This commit is contained in:
Vladimir Khvan 2024-07-03 17:27:36 +05:00
parent 1adfb662fa
commit 5a95beb181

View File

@ -36,6 +36,10 @@ import { TEnhancedMigrationUser } from "@docspace/shared/api/settings/types";
import UsersRow from "./UsersRow"; import UsersRow from "./UsersRow";
import { AddEmailRowProps, RowViewProps } from "../../../../types"; import { AddEmailRowProps, RowViewProps } from "../../../../types";
const StyledRowContainer = styled(RowContainer)`
margin-bottom: 20px;
`;
const StyledRow = styled(Row)` const StyledRow = styled(Row)`
box-sizing: border-box; box-sizing: border-box;
height: 40px; height: 40px;
@ -84,7 +88,7 @@ const RowView = (props: RowViewProps) => {
checkedUsers.withoutEmail.length === usersWithFilledEmails.length; checkedUsers.withoutEmail.length === usersWithFilledEmails.length;
return ( return (
<RowContainer useReactWindow={false}> <StyledRowContainer useReactWindow={false}>
<StyledRow <StyledRow
checked={isChecked} checked={isChecked}
onSelect={toggleAll} onSelect={toggleAll}
@ -107,7 +111,7 @@ const RowView = (props: RowViewProps) => {
setOpenedEmailKey={setOpenedEmailKey} setOpenedEmailKey={setOpenedEmailKey}
/> />
))} ))}
</RowContainer> </StyledRowContainer>
); );
}; };