[tor-commits] [lego/main] Remove the padding-top from .page

kez at torproject.org kez at torproject.org
Mon Jan 10 19:14:31 UTC 2022


commit efd74eae8ef3767ff84dcbb0172ac57dc1f04a82
Author: kez <kez at torproject.org>
Date:   Mon Jan 10 11:13:24 2022 -0800

    Remove the padding-top from .page
    
    This was added during YEC and breaks when the YEC banner is removed.
    It's been changed back to `0 !important`.
---
 assets/scss/_tor.scss           | 2 +-
 assets/static/css/bootstrap.css | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/assets/scss/_tor.scss b/assets/scss/_tor.scss
index b92f96a..dbcde92 100644
--- a/assets/scss/_tor.scss
+++ b/assets/scss/_tor.scss
@@ -4,7 +4,7 @@
 
 /* Move down content because we have a fixed navbar that is 10rem tall */
 .page {
-  padding-top: 2em;
+  padding-top: 0 !important;
 }
 
 /* Reset */
diff --git a/assets/static/css/bootstrap.css b/assets/static/css/bootstrap.css
index ae5226a..0d94bce 100644
--- a/assets/static/css/bootstrap.css
+++ b/assets/static/css/bootstrap.css
@@ -9199,7 +9199,7 @@ main {
  */
 /* Move down content because we have a fixed navbar that is 10rem tall */
 .page {
-  padding-top: 2em;
+  padding-top: 0 !important;
 }
 
 /* Reset */



More information about the tor-commits mailing list