Web: Common: Fixed the issue of not scrolling horizontally (touchpad).

This commit is contained in:
TatianaLopaeva 2021-01-15 14:41:44 +03:00
parent d300de9839
commit 31d053bc13
2 changed files with 1 additions and 7 deletions

View File

@ -29,12 +29,7 @@ const StyledContainer = styled.div`
padding-right: ${(props) => padding-right: ${(props) =>
props.isTabletView ? "1px" : "16px"} !important; props.isTabletView ? "1px" : "16px"} !important;
${(props) => height: calc(100% + 20px);
!isMobile &&
props.isTabletView &&
css`
overflow-x: hidden !important;
`}
} }
.nav-thumb-horizontal { .nav-thumb-horizontal {
${(props) => ${(props) =>

View File

@ -23,7 +23,6 @@ const commonStyles = css`
@media ${tablet} { @media ${tablet} {
padding: 16px 0 16px 24px; padding: 16px 0 16px 24px;
margin-top: ${(props) => props.isLoaded && "104px"}; margin-top: ${(props) => props.isLoaded && "104px"};
margin-bottom: ${!isMobile && "16px"};
} }
.section-wrapper { .section-wrapper {