From 545e4c01423fb5ea720abd274ebf29acb2febf66 Mon Sep 17 00:00:00 2001 From: TimofeyBoyko Date: Tue, 5 Jul 2022 19:48:46 +0300 Subject: [PATCH] Web:Client:ProfileMenu: delete useless code --- .../components/NavMenu/sub-components/profile-menu.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/web/ASC.Web.Client/src/components/NavMenu/sub-components/profile-menu.js b/web/ASC.Web.Client/src/components/NavMenu/sub-components/profile-menu.js index ce00b86c9f..417507725a 100644 --- a/web/ASC.Web.Client/src/components/NavMenu/sub-components/profile-menu.js +++ b/web/ASC.Web.Client/src/components/NavMenu/sub-components/profile-menu.js @@ -9,12 +9,7 @@ import styled, { css } from "styled-components"; import DropDownItem from "@appserver/components/drop-down-item"; import { isMobileOnly } from "react-device-detect"; import { Base } from "@appserver/components/themes"; -import { - isHugeMobile, - mobile, - size, - tablet, -} from "@appserver/components/utils/device"; +import { mobile, tablet } from "@appserver/components/utils/device"; import CrossIcon from "@appserver/components/public/static/images/cross.react.svg"; import Portal from "@appserver/components/portal"; @@ -34,8 +29,6 @@ const StyledDropDown = styled(DropDown)` props.isBannerVisible && props.withPortal ? "134px" : "54px"} !important; right: 20px !important; - max-height: 100%; - @media ${tablet} { right: 16px !important; }