Merge pull request #1234 from ONLYOFFICE/bugfix/empty-images-size

bugfix/empty-images-size
This commit is contained in:
Alexey Safronov 2023-02-22 13:45:45 +04:00 committed by GitHub
commit 94b871dd70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

View File

@ -18,8 +18,13 @@ const StyledNoItemContainer = styled.div`
}
.no-thumbnail-img-wrapper {
width: 96px;
height: 100px;
width: 75px;
height: 75px;
img {
width: 75px;
height: 75px;
}
}
.no-accounts {

View File

@ -7,6 +7,11 @@ const StyledSeveralItemsContainer = styled.div`
justify-content: center;
gap: 32px;
padding-top: ${(props) => (props.isAccounts ? "80px" : "0")};
img {
width: 75px;
height: 75px;
}
`;
export { StyledSeveralItemsContainer };

View File

@ -31,7 +31,7 @@ const SeveralItems = ({ isAccounts, theme, selectedItems }) => {
isAccounts={isAccounts}
className="no-thumbnail-img-wrapper"
>
<img size="96px" src={imgSrc} />
<img src={imgSrc} />
<Text fontSize="16px" fontWeight={700}>
{`${itemsText}: ${selectedItems.length}`}
</Text>