Change formatting buttons behavior (#9715)
Change formatting buttons behaviour
This commit is contained in:
parent
254815cbcf
commit
7943f83858
3 changed files with 22 additions and 1 deletions
|
@ -48,7 +48,10 @@ function Button({ label, keyCombo, onClick, isActive, className }: ButtonProps)
|
|||
onClick={onClick}
|
||||
title={label}
|
||||
className={
|
||||
classNames('mx_FormattingButtons_Button', className, { 'mx_FormattingButtons_active': isActive })}
|
||||
classNames('mx_FormattingButtons_Button', className, {
|
||||
'mx_FormattingButtons_active': isActive,
|
||||
'mx_FormattingButtons_Button_hover': !isActive,
|
||||
})}
|
||||
tooltip={keyCombo && <Tooltip label={label} keyCombo={keyCombo} />}
|
||||
alignment={Alignment.Top}
|
||||
/>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue