Merge pull request #2316 from litpub/fixes-dom-nesting

chat: Fixes dom nesting warning on <Message>
This commit is contained in:
Logan 2020-02-21 19:02:52 -08:00 committed by GitHub
commit 170003789a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -192,7 +192,7 @@ export class Message extends Component {
style={{ flexGrow: 1, marginTop: -8 }}>
<div className="hide-child" style={paddingTop}>
<p className="v-mid f9 gray2 dib mr3">
<div className={contact.nickname ? null : "mono"}>{name}</div>
<span className={contact.nickname ? null : "mono"}>{name}</span>
</p>
<p className="v-mid mono f9 gray2 dib">{timestamp}</p>
<p className="v-mid mono f9 ml2 gray2 dib child dn-s">{datestamp}</p>