Merge branch 'feature/fix-hide/show-header' of github.com:ONLYOFFICE/AppServer into feature/fix-hide/show-header

This commit is contained in:
Artem Tarasov 2020-11-26 16:37:41 +03:00
commit 5c735f551c
2 changed files with 17 additions and 1 deletions

View File

@ -22,7 +22,7 @@ const commonStyles = css`
@media ${tablet} {
padding: 16px 0 16px 24px;
margin-top: ${(props) => (props.isLoaded ? "58px" : "2px")};
margin-top: ${(props) => (props.isLoaded ? "104px" : "2px")};
}
.section-wrapper {

View File

@ -21,6 +21,22 @@ const StyledSectionHeader = styled.div`
@media ${tablet} {
margin-right: 16px;
border-bottom: none;
${(props) =>
isSafari
? props.isLoaded
? css`
position: absolute;
top: 56px;
`
: css`
position: none;
`
: css`
position: absolute;
top: 56px;
`};
${(props) =>
props.borderBottom &&
`