Minor tweaks
This commit is contained in:
parent
3efe56e68c
commit
3d4f007a8d
|
@ -31,7 +31,7 @@ const CommentWidget = props => {
|
||||||
props.annotation.bodies.filter(isComment) : [];
|
props.annotation.bodies.filter(isComment) : [];
|
||||||
|
|
||||||
// Last draft comment without a creator field goes into the reply field
|
// 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
|
// All except draft reply
|
||||||
const comments = all.filter(b => b != draftReply);
|
const comments = all.filter(b => b != draftReply);
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
max-height:120px;
|
max-height:120px;
|
||||||
overflow:auto;
|
overflow:auto;
|
||||||
outline:none;
|
outline:none;
|
||||||
min-height:3em;
|
min-height:2em;
|
||||||
font-size:14px;
|
font-size:14px;
|
||||||
font-family:'Lato', sans-serif;
|
font-family:'Lato', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue