Skip to content

Commit

Permalink
fixup nav padding
Browse files Browse the repository at this point in the history
  • Loading branch information
himdel committed Jul 5, 2024
1 parent f4a2eca commit 2e6b6e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion src/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ export const StandaloneMenu = ({ context }) => {
return (
<Nav onToggle={(_event, data) => onToggle(data)}>
<NavList>
<NavGroup className={'pulp-nav-title'} title={APPLICATION_NAME} />
<Menu
items={menu}
context={context}
Expand Down

0 comments on commit 2e6b6e8

Please sign in to comment.