remove BR after the quoted block as it creates more problems than solves on Android

This commit is contained in:
or-else
2021-09-27 12:11:03 -07:00
parent 35e3466a79
commit 730426041a
7 changed files with 6 additions and 11 deletions
-5
View File
@@ -2500,11 +2500,6 @@ ul.tabbar li.active > a {
margin-bottom: 0.1rem;
}
/* Hide <BR> after the quote */
.chat-box .reply-quote + br {
display: none;
}
#reply-quote-preview {
display: flex;
align-items: center;
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -688,7 +688,7 @@ class MessagesView extends React.Component {
if (typeof msg == 'string') {
msg = Drafty.parse(msg);
}
msg = Drafty.append(Drafty.appendLineBreak(this.state.reply.content), msg);
msg = Drafty.append(this.state.reply.content, msg);
this.handleCancelReply();
}
this.props.sendMessage(msg, uploadCompletionPromise, uploader, head);
+1 -1
View File
@@ -3982,7 +3982,7 @@ class MessagesView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Compone
msg = Drafty.parse(msg);
}
msg = Drafty.append(Drafty.appendLineBreak(this.state.reply.content), msg);
msg = Drafty.append(this.state.reply.content, msg);
this.handleCancelReply();
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long