Skip to content

Commit daf6da9

Browse files
committed
fix: update beta badge styling for Notifications page
1 parent 7f53666 commit daf6da9

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

site/src/components/SettingsHeader/SettingsHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const SettingsHeaderTitle: FC<SettingsHeaderTitleProps> = ({
8181
// in invalid markup
8282
const Title = level;
8383
return (
84-
<div className="flex flex-row gap-2 items-middle">
84+
<div className="flex flex-row gap-2 items-center">
8585
<Title className={cn(titleVariants({ hierarchy }), className)}>
8686
{children}
8787
</Title>

site/src/pages/DeploymentSettingsPage/NotificationsPage/NotificationsPage.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,7 @@ export const NotificationsPage: FC = () => {
5757
}
5858
>
5959
<SettingsHeaderTitle
60-
tooltip={
61-
<span className="relative top-[2px]">
62-
<FeatureStageBadge
63-
contentType="beta"
64-
size="lg"
65-
css={{ marginBottom: "5px", fontSize: "0.75rem" }}
66-
/>
67-
</span>
68-
}
60+
tooltip={<FeatureStageBadge contentType="beta" size="lg" />}
6961
>
7062
Notifications
7163
</SettingsHeaderTitle>

0 commit comments

Comments
 (0)