mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
Fixed bugs with sidenav
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
{% block maincolumn_content %}
|
||||
<div class="grid-row">
|
||||
{% if navigation_links %}
|
||||
<div class="tablet:grid-col-2 margin-bottom-4">
|
||||
<div class="tablet:grid-col-3 margin-bottom-4">
|
||||
<nav class="nav">
|
||||
<ul class="usa-sidenav">
|
||||
{% for item in navigation_links %}
|
||||
@@ -80,9 +80,9 @@
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
<div class="tablet:grid-col-10 tablet:padding-left-4 usa-prose site-prose">
|
||||
<div class="tablet:grid-col-9 tablet:padding-left-4 usa-prose site-prose">
|
||||
{% else %}
|
||||
<div class="tablet:grid-col-10">
|
||||
<div class="tablet:grid-col-9">
|
||||
{% endif %}
|
||||
{% block content_column_content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
{% if FEATURE_ABOUT_PAGE_ENABLED %}
|
||||
{% set navigation = navigation + [
|
||||
{"href": url_for('main.about_notify'), "text": "About Notify", "active": request.path == '/about'},
|
||||
{"href": url_for('main.about_notify'), "text": "About Notify", "active": request.path.startswith('/about')},
|
||||
{"href": url_for('main.join_notify'), "text": "Join Notify", "active": request.path == '/join-notify'},
|
||||
{"href": url_for('main.contact'), "text": "Contact us", "active": request.path == '/contact'}
|
||||
] %}
|
||||
|
||||
Reference in New Issue
Block a user