[tor-commits] [bridgedb] 54/66: Fix preamble padding

gitolite role git at cupani.torproject.org
Wed Jul 27 18:32:59 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 b4b8ae2a72171d795855b26a8f6f0c0e0350f9ec
Author: kez <kez at torproject.org>
AuthorDate: Tue Jul 5 15:03:30 2022 -0700

    Fix preamble padding
---
 frontend/assets/scss/_bridges.scss |  4 ----
 frontend/templates/homepage.html   | 10 +++++++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/frontend/assets/scss/_bridges.scss b/frontend/assets/scss/_bridges.scss
index b6ebccd..eaef42b 100644
--- a/frontend/assets/scss/_bridges.scss
+++ b/frontend/assets/scss/_bridges.scss
@@ -96,7 +96,3 @@
     border-top-left-radius: 0;
     border-bottom-left-radius: 0;
 }
-
-#bridgedb-homepage-intro {
-    color: gray;
-}
diff --git a/frontend/templates/homepage.html b/frontend/templates/homepage.html
index 2873781..b7ee538 100644
--- a/frontend/templates/homepage.html
+++ b/frontend/templates/homepage.html
@@ -32,10 +32,14 @@
   <div class="container {{ locale.order }} {{ locale.direction }}">
     <div class="row flex-xl-nowrap {{ locale.order }} {{ locale.direction }}">
       <main role="main" class="container mx-auto col-12 {{ locale.order }} {{ locale.direction }}">
-        <div id="bridgedb-homepage-intro" class="container py-3 mt-5 preamble">
-          {% if this.intro %}{{ this.intro }}{% endif %}
+        <div class="container pt-5 justify-content-center">
+          <section>
+            <div class="container py-3 preamble">
+              {% if this.intro %}{{ this.intro }}{% endif %}
+            </div>
+            {% if this.html %}{% include this.html %}{% endif %}
+          </section>
         </div>
-        {% if this.html %}{% include this.html %}{% endif %}
       </main>
     </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