mirror of https://github.com/vector-im/riot-web
Adjust tooltip side for DecoratedRoomAvatar to not obscure room name (#12079)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/28217/head
parent
b77e24d56b
commit
42ac2272b2
|
@ -209,7 +209,11 @@ export default class DecoratedRoomAvatar extends React.PureComponent<IProps, ISt
|
|||
oobData={this.props.oobData}
|
||||
viewAvatarOnClick={this.props.viewAvatarOnClick}
|
||||
/>
|
||||
{icon && <Tooltip label={tooltipText(this.state.icon)!}>{icon}</Tooltip>}
|
||||
{icon && (
|
||||
<Tooltip label={tooltipText(this.state.icon)!} side="bottom">
|
||||
{icon}
|
||||
</Tooltip>
|
||||
)}
|
||||
{badge}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue