Skip to content

Commit c80e6fb

Browse files
Gargronhiyuki2578
authored andcommitted
Fix tabs bar scrolling along with content on mobile (mastodon#11418)
1 parent 6ca1b30 commit c80e6fb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/javascript/styles/mastodon/components.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,6 +1936,9 @@ a.account__display-name {
19361936
background: lighten($ui-base-color, 8%);
19371937
flex: 0 0 auto;
19381938
overflow-y: auto;
1939+
position: sticky;
1940+
top: 0;
1941+
z-index: 3;
19391942
}
19401943

19411944
.tabs-bar__link {

0 commit comments

Comments
 (0)