mirror of
https://github.com/balzack/databag.git
synced 2025-03-13 00:50:03 +00:00
#119 fix for lost formatting on message
This commit is contained in:
parent
2637306211
commit
0ad996969c
@ -126,7 +126,7 @@ export function TopicItem({ host, contentKey, sealed, topic, update, remove, str
|
||||
)}
|
||||
{ !sealed && !state.editing && (
|
||||
<div className="message">
|
||||
<div style={{ color: topic.textColor ? topic.textColor : colors.mainText, fontSize: topic.textSize }}>{ topic.clickable }</div>
|
||||
<div style={{ color: topic.textColor ? topic.textColor : colors.mainText, fontSize: topic.textSize, whiteSpace: 'pre-wrap' }}>{ topic.clickable }</div>
|
||||
</div>
|
||||
)}
|
||||
{ state.editing && (
|
||||
|
Loading…
Reference in New Issue
Block a user