about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-07-27 19:25:15 +0200
committerGitHub <noreply@github.com>2019-07-27 19:25:15 +0200
commit4cc29eb5ad106c267ff16c9f49f145bc34d1aae0 (patch)
tree2533d8a304ac41008a4177faf745047f2c542dc3 /app/javascript/styles
parentd6ada2eb30a2e73b71d8ef037d3764ff006fb745 (diff)
Fix tabs bar scrolling along with content on mobile (#11418)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/components.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 8ed27371e..dd6306fb2 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -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 {