Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
scazan committed Feb 4, 2025
1 parent 089a7c7 commit 2cae20e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,11 @@ export async function SpaceLayout(props: {
const visitorAuthToken = await getCurrentVisitorToken();
const enabled = await shouldTrackEvents();

const withFooter = customization.themes.toggeable ||
customization.footer.copyright ||
customization.footer.logo ||
customization.footer.groups?.length;
const withFooter =
customization.themes.toggeable ||
customization.footer.copyright ||
customization.footer.logo ||
customization.footer.groups?.length;

return (
<InsightsProvider
Expand All @@ -108,7 +109,7 @@ export async function SpaceLayout(props: {
CONTAINER_STYLE,

// Ensure the footer is display below the viewport even if the content is not enough
withFooter && 'min-h-[calc(100vh-64px)]',
withFooter && 'min-h-[calc(100vh-64px)]',
withTopHeader ? null : 'lg:min-h-screen',
)}
>
Expand Down

0 comments on commit 2cae20e

Please sign in to comment.