Minor tweaks

This commit is contained in:
Rainer Simon 2020-05-18 09:35:23 +02:00
parent 3efe56e68c
commit 3d4f007a8d
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ const CommentWidget = props => {
props.annotation.bodies.filter(isComment) : [];
// Last draft comment without a creator field goes into the reply field
const draftReply = getDraftReply(all.reverse().find(b => b.draft && !b.creator), all.length > 1);
const draftReply = getDraftReply(all.slice().reverse().find(b => b.draft && !b.creator), all.length > 1);
// All except draft reply
const comments = all.filter(b => b != draftReply);

View File

@ -2,7 +2,7 @@
max-height:120px;
overflow:auto;
outline:none;
min-height:3em;
min-height:2em;
font-size:14px;
font-family:'Lato', sans-serif;
}