[tor-commits] [bridgedb] 51/66: Fix jumbotron header height

gitolite role git at cupani.torproject.org
Wed Jul 27 18:32:56 UTC 2022


This is an automated email from the git hooks/post-receive script.

meskio pushed a commit to branch main
in repository bridgedb.

commit b6d6d6e5fccbe33db093cd1036ce0cbea4b095ef
Author: kez <kez at torproject.org>
AuthorDate: Tue Jul 5 13:18:20 2022 -0700

    Fix jumbotron header height
---
 frontend/templates/homepage.html | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/frontend/templates/homepage.html b/frontend/templates/homepage.html
index 1784732..c1f425f 100644
--- a/frontend/templates/homepage.html
+++ b/frontend/templates/homepage.html
@@ -2,17 +2,21 @@
 <div class="page">
   <div class="container-fluid bg-primary">
     <div class="row flex-xl-nowrap {{ bag('alternatives', this.alt, 'order') }}">
-      <div class="container bg-primary pt-5 mt-3">
+      <div class="container bg-primary pt-1 pt-sm-0">
         <div class="row">
-          <div class="col-12 content-center">
+          <div class="col-12 content-center pt-5">
             <div class="row">
-              <h6 class="mx-auto text-white pt-3">{{ this.section }}</h6>
+              <h6 class="mx-auto text-white">{{ this.section }}</h6>
             </div>
-            <div class="row">
+            <div class="row pb-5">
               <h2 class="mx-auto display-3 text-center text-white">{{ this.title }}</h2>
             </div>
-            <div class="row pb-5">
-                <h4 class="mx-auto text-white {% if not this.subtitle %}invisible" aria-hidden="true{% endif %}">{{ this.subtitle or 'This text is here for spacing' }}</h4>
+            <div class="row header-description">
+              {% if this.subtitle %}
+                <h4 class="mx-auto text-white">
+                  {{ this.subtitle }}
+                </h4>
+              {% endif %}
             </div>
           </div>
         </div>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list