[tor-commits] [lego/develop] add sticky class for nav menus

hiro at torproject.org hiro at torproject.org
Tue Apr 7 16:13:23 UTC 2020


commit efafbf5574417583f97edd0b0be3143a2cd1577b
Author: Antonela <hola at antonela.me>
Date:   Thu Sep 5 09:18:14 2019 -0400

    add sticky class for nav menus
---
 assests/scss/_tor.scss | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/assests/scss/_tor.scss b/assests/scss/_tor.scss
index ff6f69a..c73909d 100644
--- a/assests/scss/_tor.scss
+++ b/assests/scss/_tor.scss
@@ -645,6 +645,13 @@ table {
     display: none !important;
 }
 
+// Sticky menu
+.sticky {
+  position: sticky;
+  top: 105px;
+  z-index: 999;
+}
+
 // Small devices (landscape phones, less than 768px)
 @include media-breakpoint-down(sm) {
     .mobile {





More information about the tor-commits mailing list