Web:Client:Fixed when animating a file in a table view, the background overlapped twice due to the fact that the padding width was superimposed on the quick buttons container.

This commit is contained in:
Vlada Gazizova 2023-02-23 18:22:25 +03:00
parent c7bfe8e1cf
commit 8983ed8312
2 changed files with 6 additions and 0 deletions

View File

@ -193,6 +193,10 @@ const StyledTableRow = styled(TableRow)`
}
}
.table-container_cell:not(.table-container_element-wrapper, .table-container_file-name-cell) {
padding-right: ${(props) => props.hideColumns && `0px`};
}
.table-container_file-name-cell {
margin-left: -24px;
padding-left: 24px;

View File

@ -40,6 +40,7 @@ const FilesTableRow = (props) => {
isRooms,
isTrashFolder,
isHighlight,
hideColumns,
} = props;
const { acceptBackground, background } = theme.dragAndDrop;
@ -141,6 +142,7 @@ const FilesTableRow = (props) => {
}
isRoom={item.isRoom}
isHighlight={isHighlight}
hideColumns={hideColumns}
>
{isRooms ? (
<RoomsRowDataComponent