Merge pull request #1486 from robintown/page-overflow

Fix home page overflowing by a few pixels
This commit is contained in:
Robin
2023-09-18 18:26:58 -04:00
committed by GitHub
3 changed files with 17 additions and 21 deletions

View File

@@ -114,6 +114,7 @@ export function RegisteredView({ client }: Props) {
return ( return (
<> <>
<div className={commonStyles.container}>
<Header> <Header>
<LeftNav> <LeftNav>
<HeaderLogo /> <HeaderLogo />
@@ -122,7 +123,6 @@ export function RegisteredView({ client }: Props) {
<UserMenuContainer /> <UserMenuContainer />
</RightNav> </RightNav>
</Header> </Header>
<div className={commonStyles.container}>
<main className={commonStyles.main}> <main className={commonStyles.main}>
<HeaderLogo className={commonStyles.logo} /> <HeaderLogo className={commonStyles.logo} />
<Heading size="lg" weight="semibold"> <Heading size="lg" weight="semibold">

View File

@@ -148,6 +148,7 @@ export const UnauthenticatedView: FC = () => {
return ( return (
<> <>
<div className={commonStyles.container}>
<Header> <Header>
<LeftNav> <LeftNav>
<HeaderLogo /> <HeaderLogo />
@@ -156,7 +157,6 @@ export const UnauthenticatedView: FC = () => {
<UserMenuContainer /> <UserMenuContainer />
</RightNav> </RightNav>
</Header> </Header>
<div className={commonStyles.container}>
<main className={commonStyles.main}> <main className={commonStyles.main}>
<HeaderLogo className={commonStyles.logo} /> <HeaderLogo className={commonStyles.logo} />
<Heading size="lg" weight="semibold"> <Heading size="lg" weight="semibold">

View File

@@ -16,7 +16,7 @@ limitations under the License.
.container { .container {
display: flex; display: flex;
min-height: calc(100% - 64px); min-height: 100%;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
} }
@@ -42,8 +42,4 @@ limitations under the License.
.logo { .logo {
display: none; display: none;
} }
.container {
min-height: calc(100% - 76px);
}
} }