[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [lego/master] Fix navbar color



commit 95a4347154bfde3808f1760bcda20cc6d1ecef71
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Tue Aug 20 17:13:18 2019 +0200

    Fix navbar color
---
 templates/navbar.html | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/templates/navbar.html b/templates/navbar.html
index 0064779..fa06de2 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -1,4 +1,7 @@
-{% if this.color == 'primary' %}
+{% if not this.color %}
+<div class="container bg-primary">
+  <nav class="navbar no-background navbar-expand-lg navbar-dark fixed-top bg-primary p-4">
+{% elif this.color == 'primary' %}
 <div class="container bg-primary">
   <nav class="navbar no-background navbar-expand-lg navbar-dark fixed-top bg-primary p-4">
 {% else %}

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits