From 4b2efc195dcda4110ccbf3c5a03393e99e0278ee Mon Sep 17 00:00:00 2001 From: Viktor Fomin Date: Tue, 26 Jul 2022 14:00:44 +0300 Subject: [PATCH] Web: Client: DocspaceLogo: fix style, add prop --- web/ASC.Web.Client/src/components/DocspaceLogo/index.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/web/ASC.Web.Client/src/components/DocspaceLogo/index.js b/web/ASC.Web.Client/src/components/DocspaceLogo/index.js index 92af53adb8..b7f15b1218 100644 --- a/web/ASC.Web.Client/src/components/DocspaceLogo/index.js +++ b/web/ASC.Web.Client/src/components/DocspaceLogo/index.js @@ -6,12 +6,8 @@ import { isMobileOnly } from "react-device-detect"; const StyledWrapper = styled.div` .logo-wrapper { - display: flex; - align-items: center; - justify-content: center; width: 100%; height: 46px; - padding-bottom: 64px; @media ${hugeMobile} { display: none; @@ -19,14 +15,15 @@ const StyledWrapper = styled.div` } `; -const DocspaceLogo = () => { +const DocspaceLogo = (props) => { + const { className } = props; if (isMobileOnly) return <>; return ( );