Skip to content

Commit

Permalink
fix top header
Browse files Browse the repository at this point in the history
  • Loading branch information
sstraatemans committed Oct 31, 2024
1 parent 1b9260f commit c8d92fd
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 21 deletions.
1 change: 1 addition & 0 deletions packages/apps/dev-wallet/src/App/BetaHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const BetaHeader = () => {
return (
<>
<Stack
width="100%"
as="header"
alignItems="center"
flexDirection="row"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const InnerLayout = () => {
</a>
}
activeUrl="https://kadena.io"
// topBanner={<div style={{ paddingBlock: '10px' }}>topbanner</div>}
topBanner={<div style={{ paddingBlock: '10px' }}>topbanner</div>}
breadcrumbs={
<Breadcrumbs icon={<MonoAccountTree />}>
<BreadcrumbsItem href="/accounts">He-man</BreadcrumbsItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export const SideBarLayout: FC<ISideBarLayout> = ({
style={{
gridArea: 'sidebarlayout-topbanner',
overflowY: 'hidden',
background: 'green',
}}
>
{topBanner}
Expand Down
19 changes: 0 additions & 19 deletions packages/libs/kode-ui/src/patterns/SideBarLayout/sidebar.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,25 +198,6 @@ export const headerWrapperClass = style([
height: minHeaderHeight,
gridArea: 'sidebarlayout-header',
},

responsiveStyle({
// xs: {
// gridTemplateColumns: 'auto',
// gridTemplateRows: `${minHeaderHeight} auto 60px`,
// gridTemplateAreas: `
// "sidebarlayout-header"
// "sidebarlayout-main"
// "sidebarlayout-footer"
// `,
// },
md: {
// gridTemplateColumns: `50px auto 50px`,
// gridTemplateRows: 'auto',
// gridTemplateAreas: `
// "header-logo header-toggle header-crumbs"
// `,
},
}),
]);
export const headerClass = style([
atoms({
Expand Down

0 comments on commit c8d92fd

Please sign in to comment.