Skip to content

Commit

Permalink
Fix navbar and page spacing
Browse files Browse the repository at this point in the history
Signed-off-by: Jenny <[email protected]>

update margin-top to 24px
  • Loading branch information
jenny-s51 committed Jan 16, 2025
1 parent 4cedb36 commit 37f2f13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion clients/ui/frontend/src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
Button,
Page,
PageSection,
PageSidebar,
Spinner,
Stack,
StackItem,
Expand Down Expand Up @@ -96,6 +97,8 @@ const App: React.FC = () => {
);
}

const sidebar = <PageSidebar isSidebarOpen={false} />;

// Waiting on the API to finish
const loading =
!configLoaded || !userSettings || !configSettings || !contextValue || !namespacesLoaded;
Expand All @@ -121,7 +124,7 @@ const App: React.FC = () => {
)
}
isManagedSidebar={isStandalone()}
sidebar={isStandalone() ? <NavSidebar /> : ''}
sidebar={isStandalone() ? <NavSidebar /> : sidebar}
>
<ModelRegistrySelectorContextProvider>
<AppRoutes />
Expand Down
2 changes: 1 addition & 1 deletion clients/ui/frontend/src/shared/style/MUI-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
--kf-central-primary-background-color: #0a3b71;
--kf-central-sidebar-default-color: #ffffff90;
--kf-central-app-drawer-width: 240px;
--kf-central-app-bar-height: 64px;
--kf-central-app-bar-height: 24px;

// Table
--mui-table__button--BackgroundColor: none;
Expand Down

0 comments on commit 37f2f13

Please sign in to comment.