Merge branch 'hotfix/v1.1.1' of github.com:ONLYOFFICE/AppServer into hotfix/v1.1.1

This commit is contained in:
Nikita Gopienko 2022-01-11 12:35:01 +03:00
commit 2fdb1fa746

View File

@ -40,6 +40,7 @@ const Header = styled.header`
.header-logo-wrapper {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
height: 26px;
${NoUserSelect}
${(props) =>
@ -87,24 +88,14 @@ const Header = styled.header`
.header-logo-icon {
width: ${(props) => (props.isPersonal ? "220px" : "146px")};
${(props) => props.isPersonal && `margin-left: 20px;`}
height: 24px;
position: relative;
padding: ${(props) => (!props.isPersonal ? "0 20px 0 6px" : "0")};
margin-left: ${(props) => (props.needNavMenu ? "0" : "10px")};
padding: 0 20px 0 6px;
margin-left: 14px;
cursor: pointer;
@media ${tablet} {
${(props) => props.isPersonal && `margin-left: 16px;`}
}
@media (max-width: 620px) {
${(props) =>
!props.isPersonal &&
css`
display: ${(props) => (props.module ? "none" : "block")};
padding: 3px 20px 0 6px;
`}
margin-left: 10px;
}
}
.mobile-short-logo {
@ -175,7 +166,7 @@ const HeaderComponent = ({
const handleItemClick = (e) => {
onItemClick(e);
backdropClick();
}
};
const numberOfModules = mainModules.filter((item) => !item.separator).length;
const needNavMenu = currentProductId !== "home";