diff options
| author | Henry Jameson <me@hjkos.com> | 2022-05-09 23:14:58 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-05-09 23:14:58 +0300 |
| commit | cc1e3c6792747553cb1b2aa55a2a9077e3eefa2d (patch) | |
| tree | 17de7dfe91ae2f94e3b3c3946abb84765755f1f8 /src | |
| parent | fb70ea3b9510e579d5b596883a546a28a7dc297c (diff) | |
fix incorrect sticking in user profile page
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/timeline/timeline.scss | 2 | ||||
| -rw-r--r-- | src/components/user_profile/user_profile.vue | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/components/timeline/timeline.scss b/src/components/timeline/timeline.scss index bed2a175..c7ea0dff 100644 --- 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 index 74d101c4..62792599 100644 --- 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; |
