Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Fix NCCRD header alignment
Browse files Browse the repository at this point in the history
fixes #20
  • Loading branch information
marksparkza committed Aug 20, 2021
1 parent 54502bb commit 08b340c
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions odp/identity/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,20 @@
{% if brand == 'nccrd' %}
<nav class="navbar">
<div class="container-fluid flex-nowrap">
<a class="navbar-brand text-reset" href="http://www.environment.gov.za/" target="_blank" rel="noopener noreferrer">
<img src="{{ url_for('static', filename='dffe-logo-transparent.png') }}">
</a>
<span class="navbar-text h3">
<div style="flex-basis:0; flex-grow:1">
<a class="navbar-brand text-reset" href="http://www.environment.gov.za/" target="_blank" rel="noopener noreferrer">
<img src="{{ url_for('static', filename='dffe-logo-transparent.png') }}">
</a>
</div>
<span style="flex-basis:0; flex-grow:1" class="navbar-text text-center h3">
National Climate Change Response Database
</span>
<a class="navbar-brand text-reset ml-5 mr-0" href="http://www.environment.gov.za/" target="_blank" rel="noopener noreferrer">
<img src="{{ url_for('static', filename='sa-flag.jpg') }}" height="65">
</a>
<div style="flex-basis:0; flex-grow:1">
<a class="navbar-brand text-reset" style="display:block" href="http://www.environment.gov.za/" target="_blank" rel="noopener noreferrer">
<img src="{{ url_for('static', filename='sa-flag.jpg') }}" height="65" class="ml-auto" style="display:block">
</a>
</div>
</div>
</nav>
<hr class="mt-0" />
{% else %}
Expand Down

0 comments on commit 08b340c

Please sign in to comment.