From eb2fbbebddff66dffa8dc8ee99f396f2754d9bcd Mon Sep 17 00:00:00 2001 From: Jim O'Donnell Date: Fri, 31 May 2024 09:45:05 +0100 Subject: [PATCH] apply the same fixes to the inbox --- app/talk/inbox-conversation.cjsx | 2 +- css/inbox.styl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/talk/inbox-conversation.cjsx b/app/talk/inbox-conversation.cjsx index 3fd19f7349..1695f3b5fc 100644 --- a/app/talk/inbox-conversation.cjsx +++ b/app/talk/inbox-conversation.cjsx @@ -37,7 +37,7 @@ Message = createReactClass {@state.commentOwner?.display_name} (@{@state.commentOwner?.login}){' '} {timestamp(@props.data.updated_at)} - {@props.data.body} + {@props.data.body.trim()} module.exports = createReactClass diff --git a/css/inbox.styl b/css/inbox.styl index 3f7b14e3a0..5d3352d58d 100644 --- a/css/inbox.styl +++ b/css/inbox.styl @@ -50,6 +50,9 @@ font-style: italic p margin: 5px 0 + .markdown + > pre + white-space: pre-wrap .new-message-form @extend .talk-module