Skip to content

Commit bfc7c6e

Browse files
authored
fix: (#325) typography showing borders for h2 tags and remove domains as the title from the domain page
1 parent 24113f1 commit bfc7c6e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

view/app/settings/domains/page.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,7 @@ const Page = () => {
7272
</Alert>
7373
) : domains && domains.length > 0 ? (
7474
<>
75-
<div className="flex justify-between items-center mt-8">
76-
<TypographyH2 className="text-xl font-medium text-foreground">
77-
{t('settings.domains.page.domainsList.title')}
78-
</TypographyH2>
75+
<div className="flex justify-end items-center mt-8">
7976
<ResourceGuard resource="domain" action="create">
8077
<Button variant="default" onClick={() => setAddDomainDialogOpen(true)}>
8178
{t('settings.domains.page.domainsList.addButton')}

view/components/ui/typography.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function TypographyH1({ children, className }: { children: React.ReactNod
88

99
export function TypographyH2({ children, className }: { children: React.ReactNode, className?: string }) {
1010
return (
11-
<h2 className={`scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0 ${className}`}>
11+
<h2 className={`scroll-m-20 text-3xl font-semibold tracking-tight first:mt-0 ${className}`}>
1212
{children}
1313
</h2>
1414
)

0 commit comments

Comments
 (0)