Extract tooltip styling to a shared class

We want to use the same styling with edited tooltip as well, so this extracts
the shared bits.
This commit is contained in:
J. Ryan Stinnett 2019-05-17 12:09:47 +01:00
parent 3da1f73ea4
commit 059988ff5c
6 changed files with 20 additions and 16 deletions

View file

@ -69,7 +69,7 @@ export default class ReactionsRowButtonTooltip extends React.PureComponent {
let tooltip;
if (tooltipLabel) {
tooltip = <Tooltip
tooltipClassName="mx_ReactionsRowButtonTooltip"
tooltipClassName="mx_ReactionsRowButtonTooltip mx_Tooltip_timeline"
visible={visible}
label={tooltipLabel}
/>;