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