Skip to content

Commit

Permalink
Bugfix/On mobile device the campaign title is huge (#1406)
Browse files Browse the repository at this point in the history
* update the font size of the campaign title for the mobile view

* update the spacing below the campaign title for the mobile view

* remove useless media query
  • Loading branch information
mm-hstefanova authored Apr 13, 2023
1 parent e23340f commit 6cb7d32
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/client/campaigns/CampaignDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,14 @@ const StyledGrid = styled(Grid)(({ theme }) => ({

[`& .${classes.campaignTitle}`]: {
marginTop: theme.spacing(6),
fontSize: theme.typography.pxToRem(45),
letterSpacing: '-1.5px',
fontSize: theme.typography.pxToRem(32),
marginBottom: theme.spacing(4),

[theme.breakpoints.up('md')]: {
fontSize: theme.typography.pxToRem(45),
marginTop: 0,
marginBottom: theme.spacing(7),
},
},

Expand Down

0 comments on commit 6cb7d32

Please sign in to comment.