[tor-commits] [lego/master] remove padding in sm media query

hiro at torproject.org hiro at torproject.org
Wed Oct 21 20:26:57 UTC 2020


commit 787008e0155ecbe8a4f1745ed06125abe69bf2eb
Author: hiro <hiro at torproject.org>
Date:   Wed Oct 21 22:26:54 2020 +0200

    remove padding in sm media query
---
 templates/header.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/templates/header.html b/templates/header.html
index 0eb8e96..a9e607b 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -5,14 +5,14 @@
 {% endif %}
   <div class="row flex-xl-nowrap {{ bag('alternatives', this.alt, 'order') }}">
     {% if this.color == 'primary' %}
-    <div class="container bg-primary pt-5">
+    <div class="container bg-primary pt-5 pt-sm-0">
     {% else %}
     <div class="container {% if this.header_color %} bg-{{ this.header_color }} {% else %} bg-dark {% endif %}git  pt-5">
     {% endif %}
       <div class="row">
         {% if this.html == 'donate-form.html' and this.header_image|length %}
-        <div class="col-12 content-center pt-5 donate-has-image">
-          <div class="row pb-5">
+        <div class="col-12 content-center pt-5 pt-sm-0 donate-has-image">
+          <div class="row pb-5 pb-sm-0">
             <h2 class="mx-auto display-3 text-white text-capitalize donate-title">{{ this.title }}</h2>
             <img src="{{ this.header_image | asseturl }}" class="donate-header-image img-fluid" />
             {% set idx = this.header_image.index(".png") %}



More information about the tor-commits mailing list