[tor-commits] [lego/develop] Fix padding for donate button

hiro at torproject.org hiro at torproject.org
Tue Apr 7 16:13:25 UTC 2020


commit 3409e3eebc2ffca079bf890b5ecb5add6fceccbc
Author: hiro <hiro at torproject.org>
Date:   Mon Nov 25 18:28:23 2019 +0100

    Fix padding for donate button
---
 templates/navbar.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/navbar.html b/templates/navbar.html
index 88f7c5c..975cd78 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -16,9 +16,9 @@
 
     {% set link = bag('links', this.alt, 'donate') %}
     {% if link %}
-      <h4 class="p-2"><a href="{{ link }}" title="{{ _("Donate") }}"><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></a></h4>
+      <h4 class="pl-2 pr-2"><a href="{{ link }}" title="{{ _("Donate") }}"><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></a></h4>
     {% else %}
-      <h4 class="p-2"><a href="https://www.torproject.org/donate/{{ this.alt }}" title="{{ _("Donate") }}"><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></a></h4>
+      <h4 class="pl-2 pr-2"><a href="https://www.torproject.org/donate/{{ this.alt }}" title="{{ _("Donate") }}"><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></a></h4>
     {% endif %}
 
     <label for="nav-toggle">





More information about the tor-commits mailing list