Add dialog to navigate long room topics (#8517)
This commit is contained in:
parent
e0415d0123
commit
fdd5494402
13 changed files with 347 additions and 41 deletions
|
@ -186,11 +186,10 @@ export default class RoomHeader extends React.Component<IProps, IState> {
|
|||
</ContextMenuTooltipButton>
|
||||
);
|
||||
|
||||
const topicElement = <RoomTopic room={this.props.room}>
|
||||
{ (topic, ref) => <div className="mx_RoomHeader_topic" ref={ref} title={topic} dir="auto">
|
||||
{ topic }
|
||||
</div> }
|
||||
</RoomTopic>;
|
||||
const topicElement = <RoomTopic
|
||||
room={this.props.room}
|
||||
className="mx_RoomHeader_topic"
|
||||
/>;
|
||||
|
||||
let roomAvatar;
|
||||
if (this.props.room) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue