mirror of
https://github.com/owncast/owncast.git
synced 2024-10-24 05:25:58 +03:00
render message in cell
This commit is contained in:
parent
f6814565de
commit
3e959fe2d4
2 changed files with 17 additions and 0 deletions
|
@ -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 a new issue