[tor-commits] [tpo/master] Update to dropdown button
hiro at torproject.org
hiro at torproject.org
Sun Mar 31 21:14:43 UTC 2019
commit 117ee3d42bea583c33485f7f9d5eba585cb1b27d
Author: hiro <hiro at torproject.org>
Date: Sun Mar 31 23:14:38 2019 +0200
Update to dropdown button
---
templates/navbar.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/templates/navbar.html b/templates/navbar.html
index b922b12..8c6a286 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -36,11 +36,11 @@
{% endfor %}
</ul>
</div>
- <div class="btn-group pull-right">
+ <div class="btn-group dropdown pull-right">
{% if this.color == 'primary' %}
- <button type="button" class="btn btn-primary bg-primary dropdown dropdown-toggle btn-block" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ <button type="button" class="btn btn-primary bg-primary dropdown-toggle btn-block" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{% else %}
- <button type="button" class="btn btn-dark bg-dark dropdown dropdown-toggle btn-block my-3 my-sm-0" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ <button type="button" class="btn btn-dark bg-dark dropdown-toggle btn-block my-3 my-sm-0" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{% endif %}
{{ bag('alternatives', this.alt, 'language') }}
</button>
More information about the tor-commits
mailing list