Remove odd spacing from profile page designs due to smaller app bar

Signed-off-by: Marquis Kurt <software@marquiskurt.net>
This commit is contained in:
Marquis Kurt 2019-10-05 16:02:18 -04:00
parent 96f8eb9eda
commit 88c800b27b
No known key found for this signature in database
GPG Key ID: 725636D259F5402D
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ export const styles = (theme: Theme) =>
paddingRight: theme.spacing.unit * 2 paddingRight: theme.spacing.unit * 2
}, },
pageMinimalBreak: { pageMinimalBreak: {
height: isAppbarExpanded() ? 80 : 64, height: isAppbarExpanded() ? 80 : 56,
[theme.breakpoints.up("md")]: { [theme.breakpoints.up("md")]: {
height: isAppbarExpanded() ? 88 : 64 height: isAppbarExpanded() ? 88 : 64
} }
@ -78,7 +78,7 @@ export const styles = (theme: Theme) =>
width: "100%", width: "100%",
color: theme.palette.common.white, color: theme.palette.common.white,
zIndex: 1, zIndex: 1,
top: isAppbarExpanded() ? 80 : 64, top: isAppbarExpanded() ? 80 : 56,
[theme.breakpoints.up("md")]: { [theme.breakpoints.up("md")]: {
top: isAppbarExpanded() ? 88 : 64 top: isAppbarExpanded() ? 88 : 64
} }