render message in cell
This commit is contained in:
parent
f6814565de
commit
3e959fe2d4
@ -153,6 +153,13 @@ export default function Chat() {
|
||||
key: 'body',
|
||||
className: 'message-col',
|
||||
width: 320,
|
||||
render: body => (
|
||||
<div
|
||||
className="message-contents"
|
||||
// eslint-disable-next-line react/no-danger
|
||||
dangerouslySetInnerHTML={{ __html: body }}
|
||||
/>
|
||||
)
|
||||
},
|
||||
{
|
||||
title: '',
|
||||
|
@ -24,6 +24,16 @@
|
||||
font-size: 11px;
|
||||
}
|
||||
}
|
||||
|
||||
.message-contents {
|
||||
overflow: hidden;
|
||||
img {
|
||||
position: relative;
|
||||
margin-top: -5px;
|
||||
width: 3rem;
|
||||
padding: 0.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bulk-editor {
|
||||
|
Loading…
Reference in New Issue
Block a user