[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [lego/develop] Fix sub-header capitalization



commit d08dee25e96a81c12727755ecf53414549e7a540
Author: Antonela <hola@xxxxxxxxxxx>
Date:   Mon Apr 13 13:31:01 2020 -0300

    Fix sub-header capitalization
    
    Seems like someone edited the .css but the fix was removing the class from the header. So, fixed the shared style file and set the proper class to the header element.
---
 assets/scss/utilities/_text.scss | 6 +++---
 templates/header.html            | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/assets/scss/utilities/_text.scss b/assets/scss/utilities/_text.scss
index eef0ee7..7445bfc 100644
--- a/assets/scss/utilities/_text.scss
+++ b/assets/scss/utilities/_text.scss
@@ -24,9 +24,9 @@
 
 // Transformation
 
-.text-lowercase  { text-transform: none !important; }
-.text-uppercase  { text-transform: none !important; }
-.text-capitalize { text-transform: none !important; }
+.text-lowercase  { text-transform: lowercase;}
+.text-uppercase  { text-transform: uppercase;}
+.text-capitalize { text-transform: capitalize;}
 
 // Weight and italics
 
diff --git a/templates/header.html b/templates/header.html
index 9290699..3e4b29b 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -12,7 +12,7 @@
       <div class="row">
         <div class="col-12 content-center pt-5">
           <div class="row">
-            <h6 class="mx-auto text-white text-uppercase">{% block section %}{{ this.section }}{% endblock %}</h6>
+            <h6 class="mx-auto text-white text-capitalize">{% block section %}{{ this.section }}{% endblock %}</h6>
           </div>
           <div class="row pb-5">
             <h2 class="mx-auto display-3 text-white text-capitalize">{% block title %}{{ this.title }}{% endblock %}</h2>



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits