]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix tabs bar scrolling along with content on mobile
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 27 Jul 2019 17:25:15 +0000 (19:25 +0200)
committerThibaut Girka <thib@sitedethib.com>
Sat, 5 Oct 2019 20:53:20 +0000 (22:53 +0200)
Port 4cc29eb5ad106c267ff16c9f49f145bc34d1aae0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/components/index.scss

index 6f0d4c0bedd171f9aa93588460a8a07f6b064fb7..743abfd2ae0e4d913e749552d98ca2398f71373c 100644 (file)
   background: lighten($ui-base-color, 8%);
   flex: 0 0 auto;
   overflow-y: auto;
+  position: sticky;
+  top: 0;
+  z-index: 3;
 }
 
 .tabs-bar__link {