Web: Files: Fixed styles.

This commit is contained in:
Tatiana Lopaeva 2021-07-08 15:30:40 +03:00
parent b7aae0c1c2
commit 4f27876b54
2 changed files with 6 additions and 5 deletions

View File

@ -56,7 +56,7 @@ const ListRow = ({
{fileExst}
</div>
</div>
<div className="files-list_file-owner_wrapper">{children}</div>
<div className="files-list_file-children_wrapper">{children}</div>
</div>
</StyledFilesList>
);

View File

@ -625,8 +625,8 @@ const StyledFilesList = styled.div`
props.displayType === "aside" ? "240px" : "250px"};
}
.files-list_file-owner {
margin-left: auto;
max-width: 260px;
//margin-left: auto;
max-width: 207px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@ -657,8 +657,9 @@ const StyledFilesList = styled.div`
}
.select-file-dialog_checked {
grid-area: checked-button;
padding-left: 6px;
}
.files-list_file-owner_wrapper {
.files-list_file-children_wrapper {
grid-area: owner-name;
margin-right: 16px;
${(props) =>
@ -684,7 +685,7 @@ const StyledFilesList = styled.div`
height: 36px;
grid-template-areas: "checked-button icon-name full-name owner-name";
`}
grid-template-columns: 16px 32px 1fr;
grid-template-columns: 22px 32px 1fr;
}
`;
export {