Skip to content

Commit

Permalink
style: Set description font size to 14px
Browse files Browse the repository at this point in the history
  • Loading branch information
kjohnson committed Nov 6, 2024
1 parent 4ee90e4 commit be8b4b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}

.description {
font-size: 0.875rem;
font-size: 14px;
margin-bottom: 0.4rem;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ export default function CampaignFormModal({isOpen, handleClose, apiSettings, tit
<label htmlFor="title">
{__("What's the title of your campaign?", 'give')} {requiredAsterisk}
</label>
<span className={styles.description}>
<div className={styles.description}>
{__("Give your campaign a title that tells donors what it's about.", 'give')}
</span>
</div>
<input
type="text"
{...register('title', {required: __('The campaign must have a title!', 'give')})}
Expand All @@ -258,9 +258,9 @@ export default function CampaignFormModal({isOpen, handleClose, apiSettings, tit
</div>
<div className="givewp-campaigns__form-row">
<label htmlFor="shortDescription">{__("What's your campaign about?", 'give')}</label>
<span className={styles.description}>
<div className={styles.description}>
{__('Let your donors know the story behind your campaign.', 'give')}
</span>
</div>
<textarea
{...register('shortDescription')}
rows={4}
Expand All @@ -272,9 +272,9 @@ export default function CampaignFormModal({isOpen, handleClose, apiSettings, tit
</div>
<div className="givewp-campaigns__form-row">
<label htmlFor="image">{__('Add a cover image or video for your campaign.', 'give')}</label>
<span className={styles.description}>
<div className={styles.description}>
{__('Upload an image or video to represent and inspire your campaign.', 'give')}
</span>
</div>
<Upload
id="givewp-campaigns-upload-cover-image"
label={__('Cover', 'give')}
Expand Down

0 comments on commit be8b4b1

Please sign in to comment.