Fix ModalTriggers styling in SqlLab (#11719)

This commit is contained in:
Kamil Gabryjelski
2020-11-17 02:13:37 +01:00
committed by GitHub
parent 7bc353f8a8
commit 274420bc5a
2 changed files with 10 additions and 2 deletions

View File

@@ -102,9 +102,9 @@ export default class ModalTrigger extends React.Component {
/* eslint-disable jsx-a11y/interactive-supports-focus */
return (
<>
<div onClick={this.open} role="button">
<span onClick={this.open} role="button">
{this.props.triggerNode}
</div>
</span>
{this.renderModal()}
</>
);