Web:Studio: delete useless code from layout component
This commit is contained in:
parent
7c5791b342
commit
b105a92239
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user