Skip to content

Commit

Permalink
refactor(style): call-to-action has padding-top
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Mar 25, 2024
1 parent 3143f3a commit 6d2856a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions benefits/core/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
{% endif %}
<header role="banner" id="header">
<a id="skip-to-content" href="#main-content" class="d-block w-100">
<div class="container"><span>{% translate "Skip to main content" %}</span></div>
<div class="container">
<span>{% translate "Skip to main content" %}</span>
</div>
</a>
{% if messages %}
{% for message in messages %}
Expand Down Expand Up @@ -87,7 +89,7 @@
{% endblock inner-content %}
</div>
{% block call-to-action %}
<div class="row d-flex justify-content-lg-end">
<div class="row d-flex justify-content-lg-end pt-8">
<div class="col-lg-3 offset-2 offset-sm-2 offset-lg-0 col-sm-8 col-8">
{% block call-to-action-button %}
{% endblock call-to-action-button %}
Expand Down
2 changes: 1 addition & 1 deletion benefits/enrollment/templates/enrollment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h1 class="pb-lg-8 pb-4">
.done(function() {
$.get("{{ access_token_url }}", function(data) {
$(".loading").remove();
$(".invisible").removeClass("invisible");
$(".invisible").removeClass("invisible").addClass("visible");

$("#{{ cta_button }}").on("click", function() {
amplitude.getInstance().logEvent(startedEvent, {
Expand Down

0 comments on commit 6d2856a

Please sign in to comment.