Merge branch 'feature/fix-hide/show-header' of github.com:ONLYOFFICE/AppServer into feature/fix-hide/show-header
This commit is contained in:
commit
5c735f551c
@ -22,7 +22,7 @@ const commonStyles = css`
|
|||||||
|
|
||||||
@media ${tablet} {
|
@media ${tablet} {
|
||||||
padding: 16px 0 16px 24px;
|
padding: 16px 0 16px 24px;
|
||||||
margin-top: ${(props) => (props.isLoaded ? "58px" : "2px")};
|
margin-top: ${(props) => (props.isLoaded ? "104px" : "2px")};
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-wrapper {
|
.section-wrapper {
|
||||||
|
@ -21,6 +21,22 @@ const StyledSectionHeader = styled.div`
|
|||||||
@media ${tablet} {
|
@media ${tablet} {
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
|
|
||||||
|
${(props) =>
|
||||||
|
isSafari
|
||||||
|
? props.isLoaded
|
||||||
|
? css`
|
||||||
|
position: absolute;
|
||||||
|
top: 56px;
|
||||||
|
`
|
||||||
|
: css`
|
||||||
|
position: none;
|
||||||
|
`
|
||||||
|
: css`
|
||||||
|
position: absolute;
|
||||||
|
top: 56px;
|
||||||
|
`};
|
||||||
|
|
||||||
${(props) =>
|
${(props) =>
|
||||||
props.borderBottom &&
|
props.borderBottom &&
|
||||||
`
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user