-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reCAPTCHA: Text padding realignment #2540
Comments
Since this is the last reCAPTCHA ticket, I'm going to be writing any notes in here of any other possible improvements/refactors we can now do:
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-X"></div>
</div>
<div class="row justify-content-center">
<div class="col-lg-X"></div>
</div>
<div class="row justify-content-center">
<div class="col-lg-X"></div>
</div>
</div> In the past, this was necessary because some elements had a different column width. But now, they are all <div class="container">
<div class="row justify-content-center">
<div class="col-lg-6">
// everything goes in here
</div>
</div>
</div> |
Probably can now remove: Instead of: <div class="container main-row">
<div class="row justify-content-center">
{% block headline %}
{% endblock headline %}
</div>
{% block explanatory-text-wrapper %}
<div class="col-lg-8">
{% block explanatory-text %}
{% endblock explanatory-text %}
</div>
{% endblock explanatory-text-wrapper %}
<div class="row justify-content-center">
{% block inner-content %}
{% endblock inner-content %}
</div>
{% block call-to-action %}
<div class="row d-flex justify-content-center pt-8">
<div class="col-12 col-lg-6">
{% block call-to-action-button %}
{% endblock call-to-action-button %}
</div>
</div>
{% endblock call-to-action %}
</div> Can now just have: <div class="container main-row">
<div class="row justify-content-center">
<div class="col-12 col-lg-6">
{% block inner-content %}
{% endblock inner-content %}
</div>
</div>
</div> EXCEPT Enrollment Sucess is actually col-lg-9 or something weird and one-off. |
Maybe keep Actually I retract this statement. A misleading thing about the cta in base is that not all ctas use that (like on forms). So I think it makes sense to remove the cta from base too. |
The kind of refactor desired is achieved here: #2585 |
Must have
p-4
orm-4
in Bootstrap class utility language) on both Figma and app.p-5 m-4
) from the nav.Nice to have
base
to not do this.I recommend this ticket be completed last.
The text was updated successfully, but these errors were encountered: