Consolidate, simplify and improve copied tooltips (#7799)

This commit is contained in:
Michael Telatynski 2022-02-14 23:54:46 +00:00 committed by GitHub
parent 226eed2a7f
commit 76fb2abae1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 31 additions and 50 deletions

View file

@ -25,6 +25,8 @@ interface IProps {
@replaceableComponent("views.context_menus.GenericTextContextMenu")
export default class GenericTextContextMenu extends React.Component<IProps> {
public render(): JSX.Element {
return <div>{ this.props.message }</div>;
return <div className="mx_Tooltip mx_Tooltip_visible" style={{ display: "block" }}>
{ this.props.message }
</div>;
}
}