Web: fixed mobile taps

This commit is contained in:
Nikita Gopienko 2022-05-05 14:56:41 +03:00
parent 382c3be2c8
commit c849032503
5 changed files with 9 additions and 0 deletions

View File

@ -181,6 +181,8 @@ const StyledArticleHeader = styled.div`
padding: 12px 16px 12px !important;
margin-bottom: 16px !important;
`}
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
`;
StyledArticleHeader.defaultProps = { theme: Base };

View File

@ -50,6 +50,8 @@ const StyledButton = styled.div`
width: 200px;
}
`}
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
`;
StyledButton.defaultProps = { theme: Base };

View File

@ -160,6 +160,7 @@ const StyledFilterBlockItemTag = styled.div`
cursor: pointer;
${(props) => props.isSelected && selectedItemTag}
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
`;
StyledFilterBlockItemTag.defaultProps = { theme: Base };

View File

@ -302,6 +302,8 @@ const StyledCatalogItemContainer = styled.div`
props.isEndOfBlock &&
props.theme.catalogItem.container.tablet.marginBottom};
`}
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
`;
StyledCatalogItemContainer.defaultProps = { theme: Base };

View File

@ -36,6 +36,8 @@ const StyledButton = styled.div`
!props.isDisabled &&
`background-color: ${props.theme.selectorAddButton.activeBackground};`}
}
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
`;
StyledButton.defaultProps = { theme: Base };