diff --git a/web/ASC.Web.Common/src/components/Layout/index.js b/web/ASC.Web.Common/src/components/Layout/index.js index 69bfb3d3a8..e632889eac 100644 --- a/web/ASC.Web.Common/src/components/Layout/index.js +++ b/web/ASC.Web.Common/src/components/Layout/index.js @@ -29,12 +29,7 @@ const StyledContainer = styled.div` padding-right: ${(props) => props.isTabletView ? "1px" : "16px"} !important; - ${(props) => - !isMobile && - props.isTabletView && - css` - overflow-x: hidden !important; - `} + height: calc(100% + 20px); } .nav-thumb-horizontal { ${(props) => diff --git a/web/ASC.Web.Common/src/components/PageLayout/sub-components/section-body.js b/web/ASC.Web.Common/src/components/PageLayout/sub-components/section-body.js index fa9f270217..a3a66d641d 100644 --- a/web/ASC.Web.Common/src/components/PageLayout/sub-components/section-body.js +++ b/web/ASC.Web.Common/src/components/PageLayout/sub-components/section-body.js @@ -23,7 +23,6 @@ const commonStyles = css` @media ${tablet} { padding: 16px 0 16px 24px; margin-top: ${(props) => props.isLoaded && "104px"}; - margin-bottom: ${!isMobile && "16px"}; } .section-wrapper {