Skip to content

Commit

Permalink
📝 Style changes to mandatory info #2334
Browse files Browse the repository at this point in the history
  • Loading branch information
millianapia committed Jul 15, 2024
1 parent 785d7cf commit efe7c23
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions sanityv3/schemas/textSnippets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ const snippets: textSnippet = {
defaultValue: 'e.g. +47',
group: groups.form,
},
all_fields_required: {
title: 'All fields with * is required',
defaultValue: 'All fields with * is required',
all_fields_mandatory: {
title: 'All fields with * are mandatory',
defaultValue: 'All fields with * are mandatory',
group: groups.form,
},
loading: {
Expand Down
4 changes: 2 additions & 2 deletions web/pageComponents/topicPages/Form/CareerFairForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ const CareerFairForm = () => {
/>
)}
/>
<div className="pb-4">
<FormattedMessage id="all_fields_required" defaultMessage="All fields with * is required" />
<div className="pb-4 text-xs italic">
<FormattedMessage id="all_fields_mandatory" defaultMessage="All fields with * are mandatory" />
</div>
<StyledCheckBox
label={intl.formatMessage({
Expand Down
4 changes: 2 additions & 2 deletions web/pageComponents/topicPages/Form/ContactEquinorForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ const ContactEquinorForm = (props: ContactEquinorFormProps) => {
)
}}
/>
<div className="pb-4">
<FormattedMessage id="all_fields_required" defaultMessage="All fields with * is required" />
<div className="pb-4 text-xs italic">
<FormattedMessage id="all_fields_mandatory" defaultMessage="All fields with * are mandatory" />
</div>
<FriendlyCaptcha
doneCallback={() => {
Expand Down
4 changes: 2 additions & 2 deletions web/pageComponents/topicPages/Form/OrderReportsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ const OrderReportsForm = () => {
/>
)}
/>
<div className="pb-4">
<FormattedMessage id="all_fields_required" defaultMessage="All fields with * is required" />
<div className="pb-4 text-xs italic">
<FormattedMessage id="all_fields_mandatory" defaultMessage="All fields with * are mandatory" />
</div>
<FriendlyCaptcha
doneCallback={() => {
Expand Down
4 changes: 2 additions & 2 deletions web/pageComponents/topicPages/Form/SubscribeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ const SubscribeForm = () => {
/>
)}
/>
<div className="pb-4">
<FormattedMessage id="all_fields_required" defaultMessage="All fields with * is required" />
<div className="pb-4 text-xs italic">
<FormattedMessage id="all_fields_mandatory" defaultMessage="All fields with * are mandatory" />
</div>
<FriendlyCaptcha
doneCallback={() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ const CareersContactForm = () => {
/>
)}
/>
<div className="pb-4">
<FormattedMessage id="all_fields_required" defaultMessage="All fields with * is required" />
<div className="pb-4 text-xs italic">
<FormattedMessage id="all_fields_mandatory" defaultMessage="All fields with * are mandatory" />
</div>
<StyledCheckBox
label={intl.formatMessage({
Expand Down

0 comments on commit efe7c23

Please sign in to comment.