[tor-commits] [bridgedb/develop] Fix RTL rendering for "Step 2" on index.html.

isis at torproject.org isis at torproject.org
Fri Feb 21 23:30:43 UTC 2014


commit 31956f6b91baa751ef76e32531e451a6a6bca3be
Author: Isis Lovecruft <isis at torproject.org>
Date:   Fri Feb 21 23:10:55 2014 +0000

    Fix RTL rendering for "Step 2" on index.html.
    
     * FIXES an RTL rendering issue from the #9264 fixes, seems introduced in
       commit 59e8b4684a "Provide an Advanced Options page for easier bridge
       selection".
---
 lib/bridgedb/templates/index.html |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/lib/bridgedb/templates/index.html b/lib/bridgedb/templates/index.html
index a97e21d..4245337 100644
--- a/lib/bridgedb/templates/index.html
+++ b/lib/bridgedb/templates/index.html
@@ -1,4 +1,4 @@
-## -*- coding: utf-8 -*-
+## -*- coding: utf-8 -*-
 <%inherit file="base.html"/>
 
 <div class="main-steps">
@@ -14,10 +14,14 @@
 </div>
 
 <div class="step row">
-  <div class="span1">
-    <p class="lead"><span class="step-title"> ${_("Step 2")} </span></p></div>
-  <div class="span5 step-text">
-    ${_("Get %s bridges %s") % ("""<a href="/options">""", "</a>")}</div>
+  <div class="bdb_span7 step-text">
+    <span class="lead">
+      <span class="step-title">
+        ${_("Step 2")}</span>
+      <span style="margin-left: 20px;">
+        ${_("Get %s bridges %s") % ("""<a href="/options">""", "</a>")}</span>
+    </span>
+  </div>
 </div>
 
 <div class="step row">





More information about the tor-commits mailing list