Respect newlines in space topics

This commit is contained in:
Michael Telatynski 2021-06-01 10:48:53 +01:00
parent a8b6094482
commit b2f01b8438
2 changed files with 8 additions and 3 deletions

View file

@ -417,9 +417,13 @@ const SpaceLanding = ({ space }) => {
{ inviteButton }
{ settingsButton }
</div>
<div className="mx_SpaceRoomView_landing_topic">
<RoomTopic room={space} />
</div>
<RoomTopic room={space}>
{(topic, ref) => (
<div className="mx_SpaceRoomView_landing_topic" ref={ref}>
{ topic }
</div>
)}
</RoomTopic>
<SpaceFeedbackPrompt />
<hr />