chat: pad message, not daybreak

Fixes urbit/landscape#475
This commit is contained in:
James Acklin 2021-02-23 13:33:07 -05:00
parent 97a6298889
commit a68f929eed

View File

@ -189,7 +189,6 @@ export default class ChatMessage extends Component<ChatMessageProps> {
ref={this.divRef}
pt={renderSigil ? 2 : 0}
pb={isLastMessage ? 4 : 2}
pr={5}
className={containerClass}
style={style}
>
@ -199,10 +198,10 @@ export default class ChatMessage extends Component<ChatMessageProps> {
{renderSigil ? (
<>
<MessageAuthor pb={'2px'} {...messageProps} />
<Message pl={5} pr={3} {...messageProps} />
<Message pl={5} pr={4} {...messageProps} />
</>
) : (
<Message pl={5} pr={3} timestampHover {...messageProps} />
<Message pl={5} pr={4} timestampHover {...messageProps} />
)}
<Box style={unreadContainerStyle}>
{isLastRead ? (