]> cat aescling's git repositories - mastodon.git/commitdiff
Fix tabs bar scrolling along with content on mobile (#11418)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 27 Jul 2019 17:25:15 +0000 (19:25 +0200)
committerGitHub <noreply@github.com>
Sat, 27 Jul 2019 17:25:15 +0000 (19:25 +0200)
app/javascript/styles/mastodon/components.scss

index 8ed27371e3ad8cc3cb3020fb2d13da661891b43f..dd6306fb2b282770b159e9d4cf1a605e19190327 100644 (file)
@@ -1936,6 +1936,9 @@ a.account__display-name {
   background: lighten($ui-base-color, 8%);
   flex: 0 0 auto;
   overflow-y: auto;
+  position: sticky;
+  top: 0;
+  z-index: 3;
 }
 
 .tabs-bar__link {