From 3dd65ebca7e5ccb07cd85ad1d27e72310cd42247 Mon Sep 17 00:00:00 2001 From: carlosallexandre Date: Fri, 24 Jan 2025 15:47:04 -0300 Subject: [PATCH 1/2] fix: adjust the content page height to prevent it creates 2 scrolls It adjust the spec content page height from 100vh to 100%. It adds header/content as spacing variables to tailwind theme to keep the layout heights consistent across the catalog. Close #819 --- eventcatalog/src/components/Header.astro | 4 ++-- .../src/layouts/VerticalSideBarLayout.astro | 7 +++++-- .../docs/[type]/[id]/[version]/spec/index.astro | 4 ++-- eventcatalog/tailwind.config.mjs | 15 +++++++++++++-- 4 files changed, 22 insertions(+), 8 deletions(-) diff --git a/eventcatalog/src/components/Header.astro b/eventcatalog/src/components/Header.astro index b32fdda1..0b34ccab 100644 --- a/eventcatalog/src/components/Header.astro +++ b/eventcatalog/src/components/Header.astro @@ -12,7 +12,7 @@ const logo = { -
+