diff --git a/packages/ui/src/components/Header/Header.module.css b/packages/ui/src/components/Header/Header.module.css index d8d0119771..a885393c3f 100644 --- a/packages/ui/src/components/Header/Header.module.css +++ b/packages/ui/src/components/Header/Header.module.css @@ -17,24 +17,15 @@ @layer tokens, base, components, utilities; @layer components { - .bui-Header { - display: flex; - flex-direction: column; - padding-top: var(--bui-space-2); - width: 100%; - padding-inline: var(--bui-space-5); - } - .bui-HeaderAfterSticky { display: flex; flex-direction: column; gap: var(--bui-space-3); } - .bui-HeaderBeforeSticky[data-sticky], - .bui-HeaderStickySentinel[data-sticky], - .bui-HeaderContent[data-sticky], - .bui-HeaderAfterSticky[data-sticky] { + .bui-HeaderBeforeSticky, + .bui-HeaderContent, + .bui-HeaderAfterSticky { width: 100%; padding-inline: var(--bui-space-5); box-sizing: border-box; @@ -59,7 +50,8 @@ flex-direction: row; justify-content: space-between; gap: var(--bui-space-3); - padding-block: var(--bui-space-3); + padding-top: var(--bui-space-2); + padding-bottom: var(--bui-space-3); } .bui-HeaderContent[data-sticky] { diff --git a/packages/ui/src/components/Header/Header.tsx b/packages/ui/src/components/Header/Header.tsx index ab64dd6e7d..2d8c37c4f9 100644 --- a/packages/ui/src/components/Header/Header.tsx +++ b/packages/ui/src/components/Header/Header.tsx @@ -180,12 +180,16 @@ export const Header = (props: HeaderProps) => { const titleAndActionsContent = ( <>