Merge branch 'develop' into bugfix/fixed-dates-in-profile
This commit is contained in:
commit
cae358636e
@ -89,6 +89,8 @@ const EditingWrapper = styled.div`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
`}
|
||||
|
||||
${(props) => props.viewAs === "table" && `padding-left: 12px`}
|
||||
}
|
||||
|
||||
.edit-button {
|
||||
@ -141,6 +143,7 @@ const EditingWrapper = styled.div`
|
||||
|
||||
.is-edit {
|
||||
/* margin-top: 4px; */
|
||||
${(props) => props.viewAs === "table" && `padding-left: 4px;`}
|
||||
}
|
||||
`;
|
||||
|
||||
|
@ -73,7 +73,7 @@ const StyledSimpleFilesRow = styled(Row)`
|
||||
}
|
||||
|
||||
.row_content {
|
||||
max-width: fit-content;
|
||||
${(props) => props.sectionWidth > 500 && `max-width: fit-content;`}
|
||||
min-width: auto;
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@ const InfoItemValue = styled.div`
|
||||
margin-top: 6px;
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
padding: 6px 24px 8px 8px;
|
||||
padding: 6px 8px 8px 8px;
|
||||
margin-left: -8px;
|
||||
}
|
||||
}
|
||||
|
@ -24,8 +24,10 @@ const StyledMain = styled.main`
|
||||
`;
|
||||
|
||||
const Main = React.memo((props) => {
|
||||
const vh = (window.innerHeight - 57) * 0.01;
|
||||
document.documentElement.style.setProperty("--vh", `${vh}px`);
|
||||
if (isIOS && !isFirefox) {
|
||||
const vh = (window.innerHeight - 57) * 0.01;
|
||||
document.documentElement.style.setProperty("--vh", `${vh}px`);
|
||||
}
|
||||
//console.log("Main render");
|
||||
return <StyledMain className="main" {...props} />;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user