about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/components/index.scss
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-07-27 19:25:15 +0200
committerThibaut Girka <thib@sitedethib.com>2019-10-05 22:53:20 +0200
commit3edb816eb0a632fa97d9a8f9a65796e5387bfdd5 (patch)
tree750905e57952ed170915ffde72b2c02178784228 /app/javascript/flavours/glitch/styles/components/index.scss
parent81b6ffa8f1e1f06d110ceba6a71b9e299614ce48 (diff)
[Glitch] Fix tabs bar scrolling along with content on mobile
Port 4cc29eb5ad106c267ff16c9f49f145bc34d1aae0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components/index.scss')
-rw-r--r--app/javascript/flavours/glitch/styles/components/index.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/index.scss b/app/javascript/flavours/glitch/styles/components/index.scss
index 6f0d4c0be..743abfd2a 100644
--- a/app/javascript/flavours/glitch/styles/components/index.scss
+++ b/app/javascript/flavours/glitch/styles/components/index.scss
@@ -639,6 +639,9 @@
   background: lighten($ui-base-color, 8%);
   flex: 0 0 auto;
   overflow-y: auto;
+  position: sticky;
+  top: 0;
+  z-index: 3;
 }
 
 .tabs-bar__link {