Skip to content

Commit

Permalink
[#1554] headings font size bug fixes (#1613)
Browse files Browse the repository at this point in the history
* headings font size bug fixes

* removed library from package.json
  • Loading branch information
dzhaniivanov authored Oct 6, 2023
1 parent abef9dc commit c932b45
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/locales/bg/campaigns.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"others": "други",
"profile": "Профил:",
"status": "Статус:",
"messages": "Кампанията подкрепиха:",
"messages": "Кампанията подкрепиха",
"sort": {
"title": "Сортирай по:",
"date": "Дата",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/en/campaigns.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"documents": "documents",
"guarantor": "guarantor",
"others": "others",
"messages": "Messages:",
"messages": "Messages",
"sort": {
"title": "Sort by:",
"date": "Date",
Expand Down
2 changes: 1 addition & 1 deletion src/components/client/campaigns/CampaignNewsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default function CampaignNewsSection({ campaign, canCreateArticle }: Prop
return (
<Grid container item xs={12} spacing={1} id="news">
<Grid container item flexDirection={'column'}>
<Typography component={'h3'} fontSize={25} color={theme.palette.common.black}>
<Typography component="h4" color={theme.palette.common.black} fontSize="2rem">
{t('news')}
</Typography>
{canCreateArticle && (
Expand Down
3 changes: 2 additions & 1 deletion src/components/client/campaigns/DonationWishes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ export default function DonationWishes({ campaignId, pageSize = 5 }: Props) {
<Grid2 container direction="column" rowGap={4}>
<Grid2>
<Typography
component="h4"
sx={{
color: theme.palette.common.black,
fontSize: theme.typography.pxToRem(25),
fontSize: '2rem',
paddingBottom: '1rem',
}}>
{t('campaign.messages')}
Expand Down

0 comments on commit c932b45

Please sign in to comment.