From 25540ec3f2cc58fc247d3be76b09e267f2c82a98 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Sun, 1 Nov 2020 17:35:22 +0100 Subject: [PATCH] Improve thread scrolling Signed-off-by: Richard Steinmetz --- src/components/MessageHTMLBody.vue | 5 ++-- src/components/Thread.vue | 40 ++++++++++++++++++------------ src/components/ThreadEnvelope.vue | 6 ++--- src/views/Home.vue | 1 - 4 files changed, 30 insertions(+), 22 deletions(-) diff --git a/src/components/MessageHTMLBody.vue b/src/components/MessageHTMLBody.vue index b416586a7a..4ac6bef750 100644 --- a/src/components/MessageHTMLBody.vue +++ b/src/components/MessageHTMLBody.vue @@ -115,9 +115,10 @@ export default { } #message-container { - flex: 1; + // TODO: collapse quoted text and remove inner scrollbar max-height: 50vh; - overflow: auto; + overflow-y: auto; + flex: 1; } .message-frame { diff --git a/src/components/Thread.vue b/src/components/Thread.vue index 0b6833153e..e800ed9c41 100644 --- a/src/components/Thread.vue +++ b/src/components/Thread.vue @@ -15,13 +15,15 @@ - +
+ +
@@ -163,7 +165,15 @@ export default {