Skip to content

Commit

Permalink
[B2BP-696] Fix Hero Counter style (#379)
Browse files Browse the repository at this point in the history
* commit QA fix req

* commit changeset
  • Loading branch information
Meolocious authored Jul 24, 2024
1 parent 6581621 commit f48aa27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/ten-jobs-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"nextjs-website": minor
---

Fix Hero Counter style
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const HeroCounter = (props: HeroCounterProps) => {
variant='h1'
color={textColor}
mb={2}
sx={{ fontSize: '3.5rem!important' }}
sx={{ fontSize: { xs: '2.25rem!important', md: '3.5rem!important' }}}
>
{title}
</Typography>
Expand Down Expand Up @@ -125,10 +125,10 @@ const HeroCounter = (props: HeroCounterProps) => {
theme === 'light' ? palette.custom.primaryColorDark : textColor
}
sx={{
fontSize: '8rem',
fontSize: { xs: '5.625rem', md: '8rem' },
display: 'flex',
flexDirection: 'column',
alignItems: 'start',
alignItems: 'center',
lineHeight: 1.1,
}}
>
Expand Down

0 comments on commit f48aa27

Please sign in to comment.