Skip to content

Commit

Permalink
[Scorecards 2022] Better spacing for year selector dropdown in nav
Browse files Browse the repository at this point in the history
  • Loading branch information
zarino committed Oct 18, 2023
1 parent 03edf69 commit 87cee79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scoring2022/templates/scoring2022/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@
<body class="{% block bodyclass %}{% endblock %} {{ current_page }}">
<nav class="scorecards navbar navbar-expand-xl navbar-light justify-content-between bg-green-gradient">
<div class="d-flex align-items-center">
<a class="navbar-brand" href="{% url 'scoring2022:home' %}">Council climate plan scorecards</a>
<a class="navbar-brand mr-0" href="{% url 'scoring2022:home' %}">Council climate plan scorecards</a>

<div class="navbar-nav">
<div class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" id="scorecardsVersion" data-bs-toggle="dropdown" aria-expanded="false">
2021
</a>
<ul class="dropdown-menu position-absolute ms-n3 shadow-lg" aria-labelledby="scorecardsVersion">
<li><a class="dropdown-item badge badge-light text-decoration-none font-weight-normal text-align-left py-2 text-left rounded-0" href="{% url 'scoring:home' %}" >2023 Action Scorecards</a></li>
<li><a class="dropdown-item badge badge-light text-decoration-none font-weight-normal text-align-left py-2 text-left rounded-0" href="{% url 'scoring2022:home' %}" aria-current="page">2021 Plan Scorecards</a></li>
<ul class="dropdown-menu position-absolute mt-n3 shadow-lg" aria-labelledby="scorecardsVersion">
<li><a class="dropdown-item badge badge-light text-decoration-none font-weight-normal py-2 px-3 text-left rounded-0" href="{% url 'scoring:home' %}" >2023 Action Scorecards</a></li>
<li><a class="dropdown-item badge badge-light text-decoration-none font-weight-normal py-2 px-3 text-left rounded-0" href="{% url 'scoring2022:home' %}" aria-current="page">2021 Plan Scorecards</a></li>
</ul>
</div>
</div>
Expand Down

0 comments on commit 87cee79

Please sign in to comment.