Web: Files: fixed icons clickability

This commit is contained in:
Nikita Gopienko 2021-05-13 16:57:10 +03:00
parent 75a603f439
commit 0d98b05210
3 changed files with 3 additions and 3 deletions

View File

@ -430,7 +430,7 @@ class PageLayout extends React.Component {
);
};
return isMobile ? (
return isMobile || !uploadFiles ? (
renderPageLayout()
) : (
<>

View File

@ -41,7 +41,7 @@ const SectionToggler = React.memo((props) => {
const { visible, onClick } = props;
return (
<StyledSectionToggler visible={visible}>
<StyledSectionToggler className="not-selectable" visible={visible}>
<div onClick={onClick}>
<CatalogButtonIcon style={iconStyle} />
</div>

View File

@ -164,7 +164,7 @@ class IconButton extends React.PureComponent {
})} */}
<ReactSVG
className="icon-button_svg"
className="icon-button_svg not-selectable"
src={this.state.currentIconName}
/>
</StyledOuter>