[tor-commits] [community/master] Update two-columns-page.html

antonela at torproject.org antonela at torproject.org
Mon Apr 13 15:52:20 UTC 2020


commit 3c78baf4d7de9bd241386f99537f0b47d700b263
Author: Antonela <hola at antonela.me>
Date:   Mon Apr 13 12:51:39 2020 -0300

    Update two-columns-page.html
    
    Close https://gitlab.torproject.org/torproject/web/community/-/issues/123
---
 templates/two-columns-page.html | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/templates/two-columns-page.html b/templates/two-columns-page.html
index 5151905..637857f 100644
--- a/templates/two-columns-page.html
+++ b/templates/two-columns-page.html
@@ -4,7 +4,9 @@
 <div class="row">
   {% include 'sidenav.html' %}
   <div class="col-sm-12 col-xs-12 col-md-8 col-lg-8 pt-3 mr-auto {{ bag('alternatives', this.alt, 'order') }}">
-    {{ this.body }}
+    <div class="col-10">
+      {{ this.body }}
+    </div>
     <div class="row">
     {% for child in this.children|sort(attribute='key') %}
         <div class="col-sm-6 col-md-6 col-sm-12 col-xl-6 py-3">
@@ -26,7 +28,7 @@
       <ul class="list-group list-group-flush">
         <!--li class="list-group-item"><a><span class="card-text text-muted">{{ _("Contributors to this page:") }} <a href="#" title="#">cypherpunk</a></span></li-->
         <li class="list-group-item">
-                <a href="{{ this.parent|url }}">{{ _("Back to previous page: ") }}{{ this.parent.title }}</a> - <a href="https://github.com/torproject/community/edit/master/content{{ this.path }}/contents.lr">{{ _("Edit this page") }}</a>
+          <a href="{{ this.parent|url }}">{{ _("Back to previous page: ") }}{{ this.parent.title }}</a> - <a href="https://github.com/torproject/community/edit/master/content{{ this.path }}/contents.lr">{{ _("Edit this page") }}</a>
         </li>
       </ul>
     </div>



More information about the tor-commits mailing list