Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: update beta badge styling for Notifications page
  • Loading branch information
Parkreiner committed Mar 28, 2025
commit daf6da9a855fd1406fdb62f47572e74795476445
2 changes: 1 addition & 1 deletion site/src/components/SettingsHeader/SettingsHeader.tsx
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a storybook for it covering the new variants?

Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const SettingsHeaderTitle: FC<SettingsHeaderTitleProps> = ({
// in invalid markup
const Title = level;
return (
<div className="flex flex-row gap-2 items-middle">
<div className="flex flex-row gap-2 items-center">
<Title className={cn(titleVariants({ hierarchy }), className)}>
{children}
</Title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,7 @@ export const NotificationsPage: FC = () => {
}
>
<SettingsHeaderTitle
tooltip={
<span className="relative top-[2px]">
<FeatureStageBadge
contentType="beta"
size="lg"
css={{ marginBottom: "5px", fontSize: "0.75rem" }}
/>
</span>
}
tooltip={<FeatureStageBadge contentType="beta" size="lg" />}
>
Notifications
</SettingsHeaderTitle>
Expand Down
Loading