style(sns): keep header and actions sticky

This commit is contained in:
tisonhuang
2026-03-02 13:38:06 +08:00
parent 64616b9136
commit bc739dc4a0

View File

@@ -44,6 +44,13 @@
justify-content: space-between; justify-content: space-between;
margin-bottom: 8px; margin-bottom: 8px;
padding: 0 4px; padding: 0 4px;
position: sticky;
top: 0;
z-index: 20;
background: var(--sns-bg-color);
border-bottom: 1px solid var(--border-color);
padding-top: 10px;
padding-bottom: 10px;
.feed-header-main { .feed-header-main {
display: flex; display: flex;