[tor-commits] [bridgedb] 22/66: Fix bridgelines styling

gitolite role git at cupani.torproject.org
Wed Jul 27 18:32:27 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 655e09c37d71bcad94599705d7f96957c4482149
Author: kez <kez at torproject.org>
AuthorDate: Thu May 26 15:44:22 2022 -0700

    Fix bridgelines styling
---
 frontend/assets/scss/_bridges.scss        | 6 ++++++
 frontend/templates/hero-bridge-lines.html | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/frontend/assets/scss/_bridges.scss b/frontend/assets/scss/_bridges.scss
index 395a309..0e7e387 100644
--- a/frontend/assets/scss/_bridges.scss
+++ b/frontend/assets/scss/_bridges.scss
@@ -34,6 +34,12 @@
     background-color: $purple-dark !important;
 }
 
+#bridgelines {
+    white-space: nowrap;
+    overflow-x: auto;
+    font-family: monospace;
+}
+
 #bridgedb-captcha-container {
     width: max-content;
     margin: 0 auto;
diff --git a/frontend/templates/hero-bridge-lines.html b/frontend/templates/hero-bridge-lines.html
index cffc6b1..5231216 100644
--- a/frontend/templates/hero-bridge-lines.html
+++ b/frontend/templates/hero-bridge-lines.html
@@ -10,7 +10,7 @@
 <div id="container-bridges">
     <!-- this element exists so bridges.js runs. it checks for a `container-bridges` element but never uses it -->
 </div>
-<div id="container">
+<div class="container w-75">
     <h1>Here are your bridge lines:</h1>
     <div id="bridgelines" class="p-4 mb-3">
         {% if envvars('ENV') == 'dev' %}

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


More information about the tor-commits mailing list