fix: CIDER formatting buttons on Safari

This commit is contained in:
Germain Souquet 2021-03-22 15:05:22 +00:00
parent cfbcf12e1d
commit 0db31dfeae
2 changed files with 4 additions and 2 deletions

View file

@ -60,6 +60,8 @@ limitations under the License.
width: 27px; width: 27px;
height: 24px; height: 24px;
box-sizing: border-box; box-sizing: border-box;
background: none;
vertical-align: middle;
} }
.mx_MessageComposerFormatBar_button::after { .mx_MessageComposerFormatBar_button::after {

View file

@ -85,8 +85,8 @@ class FormatButton extends React.PureComponent {
return ( return (
<AccessibleTooltipButton <AccessibleTooltipButton
as="span" element="button"
role="button" type="button"
onClick={this.props.onClick} onClick={this.props.onClick}
title={this.props.label} title={this.props.label}
tooltip={tooltip} tooltip={tooltip}