Skip to content

Commit af6daf5

Browse files
authored
Merge pull request #11229 from ethereum/staking-product-name
Fix alignment of staking product name and icon
2 parents 505dfe5 + 846a806 commit af6daf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Staking/StakingProductsCardGrid.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
BoxProps,
77
Center,
88
Flex,
9+
Heading,
910
HStack,
1011
Icon,
1112
List,
@@ -19,7 +20,6 @@ import stakingProducts from "../../data/staking-products.json"
1920
// Component imports
2021
import { ButtonLink } from "../Buttons"
2122
import Translation from "../Translation"
22-
import OldHeading from "../OldHeading"
2323
// SVG imports
2424
import {
2525
CautionProductGlyphIcon,
@@ -213,9 +213,9 @@ const StakingProductCard: React.FC<ICardProps> = ({
213213
maxH={24}
214214
>
215215
{!!Svg && <Icon as={Svg} fontSize="2rem" color="white" />}
216-
<OldHeading fontSize="2xl" color="white">
216+
<Heading as="h4" fontSize="2xl" color="white">
217217
{name}
218-
</OldHeading>
218+
</Heading>
219219
</HStack>
220220
{typeof minEth !== "undefined" && (
221221
<Center

0 commit comments

Comments
 (0)