Merge branch 'feature/workspaces' of https://github.com/ONLYOFFICE/AppServer into feature/workspaces

This commit is contained in:
Alexey Safronov 2021-03-19 19:02:50 +03:00
commit ec1fc00b90

View File

@ -20,7 +20,7 @@ const StyledArticle = styled.article`
background: #f8f9f9;
min-width: 265px;
height: 100% !important;
max-width: ${(props) => (props.isLoaded ? "calc(100vw - 368px)" : "265px")};
max-width: 265px;
box-sizing: border-box;
overflow: hidden auto;
display: flex;
@ -30,7 +30,8 @@ const StyledArticle = styled.article`
cursor: ew-resize !important;
}
}
${isMobile &&
${
isMobile &&
css`
margin-top: 56px;
height: calc(100% - 56px) !important;
@ -38,7 +39,8 @@ const StyledArticle = styled.article`
@media ${tablet} {
margin-top: ${(props) => (props.pinned ? "56px;" : "0;")};
}
`}
`
}
@media ${tablet} {
padding: 0 16px;
${(props) =>