From b105a92239802642a6da98b4370c9522371af636 Mon Sep 17 00:00:00 2001 From: Timofey Boyko Date: Fri, 1 Apr 2022 12:39:33 +0300 Subject: [PATCH] Web:Studio: delete useless code from layout component --- .../src/components/Layout/index.js | 25 +------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/web/ASC.Web.Client/src/components/Layout/index.js b/web/ASC.Web.Client/src/components/Layout/index.js index 472fded852..cc7d54fdeb 100644 --- a/web/ASC.Web.Client/src/components/Layout/index.js +++ b/web/ASC.Web.Client/src/components/Layout/index.js @@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react"; import styled, { css } from "styled-components"; import PropTypes from "prop-types"; import MobileLayout from "./MobileLayout"; -import { size, isSmallTablet } from "@appserver/components/utils/device"; +import { size } from "@appserver/components/utils/device"; import { isIOS, isFirefox, @@ -27,29 +27,6 @@ const StyledContainer = styled.div` -webkit-user-select: none; } } - #articleScrollBar { - > .scroll-body { - -webkit-touch-callout: none; - -webkit-user-select: none; - position: ${isMobileOnly && !isSmallTablet() && "absolute"} !important; - - ${isMobileOnly && - !isSmallTablet() && - css` - overflow-y: hidden !important; - overflow-x: hidden !important; - width: 192px; - `} - } - - .nav-thumb-horizontal { - ${(props) => - props.isTabletView && - css` - height: 0 !important; - `} - } - } `; const Layout = (props) => {