logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: cc1e3c6792747553cb1b2aa55a2a9077e3eefa2d
parent fb70ea3b9510e579d5b596883a546a28a7dc297c
Author: Henry Jameson <me@hjkos.com>
Date:   Mon,  9 May 2022 23:14:58 +0300

fix incorrect sticking in user profile page

Diffstat:

Msrc/components/timeline/timeline.scss2+-
Msrc/components/user_profile/user_profile.vue3+++
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/components/timeline/timeline.scss b/src/components/timeline/timeline.scss @@ -10,7 +10,7 @@ } .conversation-heading { - top: calc(var(--__panel-heading-height) * 2); + top: calc(var(--__panel-heading-height) * var(--currentPanelStack, 2)); z-index: 1; } diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue @@ -142,6 +142,9 @@ flex: 2; flex-basis: 500px; + // No sticky header on user profile + --currentPanelStack: 1; + .user-profile-fields { margin: 0 0.5em;