diff --git a/src/components/ChatMessage.jsx b/src/components/ChatMessage.jsx index 9917bef..f94bd42 100644 --- a/src/components/ChatMessage.jsx +++ b/src/components/ChatMessage.jsx @@ -49,50 +49,47 @@ function ChatMessage({ return (
  • -
    - { - (!isInfo && !isEvent) + {(!isInfo && !isEvent) && ( - <> - { - e.target.onerror = null; - e.target.src = './cf/xx.gif'; - }} - /> -   - { - const { - clientX, - clientY, - } = event; - dispatch(showContextMenu('USER', clientX, clientY, { - windowId, - uid, - name, - })); - }} - > - {name} +
    + + { + e.target.onerror = null; + e.target.src = './cf/xx.gif'; + }} + /> +   + { + const { + clientX, + clientY, + } = event; + dispatch(showContextMenu('USER', clientX, clientY, { + windowId, + uid, + name, + })); + }} + > + {name} + : - :  {getDateTimeString(ts)} - - ) - } -
    +
    + )}
    diff --git a/src/core/MarkdownParser.js b/src/core/MarkdownParser.js index c38e809..6e6f0e2 100644 --- a/src/core/MarkdownParser.js +++ b/src/core/MarkdownParser.js @@ -369,7 +369,6 @@ function parseOpts(inOpts) { export function parseParagraph(text, inOpts) { const opts = parseOpts(inOpts); const mText = new MString(text); - console.log('parse', text); return parseMParagraph(mText, opts); } diff --git a/src/styles/default.css b/src/styles/default.css index 55c26d6..1ae0050 100644 --- a/src/styles/default.css +++ b/src/styles/default.css @@ -664,10 +664,12 @@ tr:nth-child(even) { height: 24px; white-space: nowrap; } +.chathead { + display: flex; +} .chatname { font-size: 13px; white-space: nowrap; - display: flex; } .chatts { color: #83839f;