From 2e6b6e8c0cf262353b743d1e900dc2db4fa430c3 Mon Sep 17 00:00:00 2001 From: Martin Hradil Date: Fri, 5 Jul 2024 18:39:14 +0000 Subject: [PATCH] fixup nav padding --- src/app.scss | 5 +++++ src/menu.tsx | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app.scss b/src/app.scss index 0dda308..885401c 100644 --- a/src/app.scss +++ b/src/app.scss @@ -13,6 +13,11 @@ body, cursor: pointer; } +// remove padding between menu and top navbar +#page-sidebar .pf-v5-c-nav { + --pf-v5-c-nav__list--PaddingTop: 0; +} + // this was getting applied globally when it was in the collection-info.scss file // which means other components now rely on it, so I'm just going move it here // so that it's explicitly setting these styles globally. diff --git a/src/menu.tsx b/src/menu.tsx index 79a5f7f..887cdac 100644 --- a/src/menu.tsx +++ b/src/menu.tsx @@ -217,7 +217,6 @@ export const StandaloneMenu = ({ context }) => { return (