Skip to content

Commit 6d03bca

Browse files
committed
minor tweaks
1 parent 7c5ca20 commit 6d03bca

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

src/pages/bug-bounty.tsx

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ const Title = (props: ChildOnlyProp) => (
6565
<Text className="mb-0 ms-2 uppercase text-body" {...props} />
6666
)
6767

68-
const H2 = (props: ChildOnlyProp) => (
69-
<h2 className="mb-8 mt-12 text-left tracking-normal" {...props} />
68+
const H2 = (props: HTMLAttributes<HTMLHeadingElement>) => (
69+
<h2 className="mb-8 mt-12 text-center tracking-normal" {...props} />
7070
)
7171

7272
const H4 = (props: ChildOnlyProp) => (
@@ -170,7 +170,14 @@ const StyledCardContainer = (props: ChildOnlyProp) => (
170170
)
171171

172172
const StyledCard = ({ children, ...props }) => (
173-
<Card flex="1 1 464px" m="4" p="6" justifyContent="flex-start" {...props}>
173+
<Card
174+
flex="1 1 464px"
175+
m="4"
176+
p="6"
177+
justifyContent="flex-start"
178+
bg="background.base"
179+
{...props}
180+
>
174181
{children}
175182
</Card>
176183
)
@@ -451,7 +458,9 @@ const BugBountiesPage = () => {
451458
</ClientRow>
452459
<StyledGrayContainer id="rules">
453460
<Content>
454-
<H2>{t("page-upgrades-bug-bounty-validity")}</H2>
461+
<H2 className="mb-4 text-left">
462+
{t("page-upgrades-bug-bounty-validity")}
463+
</H2>
455464
<Text>
456465
<Translation id="page-bug-bounty:page-upgrades-bug-bounty-validity-desc" />
457466
</Text>

0 commit comments

Comments
 (0)