Skip to content

Commit

Permalink
Fixed error button hidden by editor highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
magjac committed Sep 26, 2018
1 parent 5918f62 commit fa87ede
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TextEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ class TextEditor extends React.Component {
style={{
left: `calc(${this.props.width} - 2 * 12px - 12px - ${scrollbarWidth}px`,
display: this.props.error ? 'block' : 'none',
zIndex: 1,
}}
color="inherit"
aria-label="Error"
Expand Down

0 comments on commit fa87ede

Please sign in to comment.