commit: bb29218a6cb3682d230c12c630916562f8b24028
parent b25c0c6f0289541bf1d7ef52da7d09db2893d38d
Author: Henry Jameson <me@hjkos.com>
Date: Tue, 19 Apr 2022 23:06:57 +0300
fixate conversation heading
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue
@@ -7,7 +7,7 @@
>
<div
v-if="isExpanded"
- class="panel-heading conversation-heading"
+ class="panel-heading conversation-heading -sticky"
>
<span class="title"> {{ $t('timeline.conversation') }} </span>
<button
diff --git a/src/components/timeline/timeline.scss b/src/components/timeline/timeline.scss
@@ -27,4 +27,8 @@
.timeline-footer {
border: none;
}
+
+ .conversation-heading {
+ top: calc(var(--panel-heading-height) * 2);
+ }
}