Skip to content

Commit

Permalink
update header
Browse files Browse the repository at this point in the history
  • Loading branch information
Fercas123 committed Oct 15, 2024
1 parent f9f007e commit af043ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lab/src/overlay/OverlayHeader.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
gap: var(--salt-spacing-50);
}

.saltOverlayHeader-header {
.saltOverlayHeader-container > .saltText {
margin: 0;
}

Expand Down
2 changes: 2 additions & 0 deletions packages/lab/stories/overlay/overlay.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ export const HeaderWithCloseButton = ({ onOpenChange }: OverlayProps) => {
}}
>
<OverlayHeader
preheader="preheader"
description="description"
header={<H4 id={id}>Header block</H4>}
actions={<CloseButton />}
/>
Expand Down

0 comments on commit af043ce

Please sign in to comment.