UEPR 113 PR changes

This commit is contained in:
Bogomil-Stoyanov 2024-12-18 13:15:18 +02:00
parent ab3e84d868
commit 634c3b4b32
4 changed files with 9 additions and 11 deletions

View file

@ -176,7 +176,7 @@ class UsernameStep extends React.Component {
<FormattedMessage id="registration.usernameStepTitle" /> <FormattedMessage id="registration.usernameStepTitle" />
)} )}
</h2> </h2>
<p className="wide-description description"> <p className="description wide">
{this.props.description ? ( {this.props.description ? (
this.props.description this.props.description
) : ( ) : (
@ -1200,13 +1200,13 @@ class EmailStep extends React.Component {
<h2> <h2>
<FormattedMessage id="teacherRegistration.emailStepTitle" /> <FormattedMessage id="teacherRegistration.emailStepTitle" />
</h2> </h2>
<p className="description description-wide"> <p className="description wide">
<FormattedMessage <FormattedMessage
id="teacherRegistration.emailStepDescription1" id="teacherRegistration.emailStepDescription1"
values={{a: Email}} values={{a: Email}}
/> />
</p> </p>
<p className="description description-wide"> <p className="description wide">
<FormattedMessage id="teacherRegistration.emailStepDescription2" /> <FormattedMessage id="teacherRegistration.emailStepDescription2" />
</p> </p>
<p className="description"> <p className="description">

View file

@ -44,8 +44,8 @@
color: $ui-dark-gray; color: $ui-dark-gray;
} }
.wide-description { .description.wide {
margin: 0 -3.2rem 2rem -3.2rem; margin: 0 -8rem 0 -8rem;
} }
.underline-link { .underline-link {
@ -88,6 +88,9 @@
top:auto; top:auto;
left:auto; left:auto;
} }
> .description.wide {
margin: 0 -3.2rem 2rem -3.2rem;
}
} }
&.demographics-step { &.demographics-step {

View file

@ -15,11 +15,6 @@
margin-bottom: 2rem; margin-bottom: 2rem;
} }
> .description-wide {
margin: 0 -8rem 0 -8rem;
}
.card { .card {
margin: 0 auto; margin: 0 auto;
} }