Skip to content

Commit

Permalink
fix: footer hiding properly
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Sep 16, 2022
1 parent 8323926 commit 0785353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"scripts": {
"test": "vitest run",
"build:local": "NEXT_PUBLIC_LOCAL_DEV=true yarn run --top-level docs --force && yarn build:prod",
"build:local": "yarn run --top-level docs --force && NEXT_PUBLIC_LOCAL_DEV=true yarn build:prod",
"build:prod": "yarn workspace @discordjs/api-extractor-utils run build && yarn workspace @discordjs/scripts run build && yarn build:css && yarn build:next",
"build:next": "next build",
"build:css": "yarn generate:css",
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/components/SidebarLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export function SidebarLayout({
}`}
>
<article className="dark:bg-dark-600 bg-light-600">
<div className="min-h-[calc(100vh - 50px)] dark:bg-dark-800 relative z-10 bg-white p-6 pb-20 shadow">
<div className="dark:bg-dark-800 relative z-10 min-h-[calc(100vh_-_70px)] bg-white p-6 pb-20 shadow">
{children}
</div>
<div className="h-76 md:h-52" />
Expand Down

1 comment on commit 0785353

@vercel
Copy link

@vercel vercel bot commented on 0785353 Sep 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.