Merge pull request #1234 from ONLYOFFICE/bugfix/empty-images-size
bugfix/empty-images-size
This commit is contained in:
commit
94b871dd70
@ -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 {
|
||||
|
@ -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 };
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user