Anchor post navigation via hotkeys to top of viewport (#38036)

This commit is contained in:
diondiondion authored and GitHub committed 2026-03-03 11:02:04 +00:00
1 parent 80066631ee
commit 6e5aa00436
3 files changed
+23 -24

No files matched your search

@@ -19,6 +19,15 @@ html {
&.rtl {
--text-x-direction: -1;
}
// Compensate for column header height when scrolling elements into view
--column-header-height: 62px;
scroll-padding-top: var(--column-header-height);
&:has(.layout-multi-column) {
--column-header-height: 0;
}
}
html.has-modal {
@@ -2984,8 +2984,6 @@ a.account__display-name {
}
&__main {
--column-header-height: 62px;
box-sizing: border-box;
width: 100%;
flex: 0 1 auto;
@@ -9143,10 +9141,6 @@ noscript {
.conversation {
position: relative;
// When scrolling these elements into view, take into account
// the column header height
scroll-margin-top: var(--column-header-height, 0);
&.unread {
&::before {
content: '';