Merge branch 'master' into fix_e2e

pull/1591/head
EthereumRemix 3 years ago committed by GitHub
commit e9b9e3da5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      libs/remix-ui/renderer/src/lib/renderer.css
  2. 2
      libs/remix-ui/renderer/src/lib/renderer.tsx

@ -27,6 +27,7 @@
.remixui_sol.success .close,
.remixui_sol.error .close,
.remixui_sol.warning .close {
visibility: hidden;
white-space: pre-line;
font-weight: bold;
position: absolute;

@ -102,7 +102,7 @@ export const Renderer = ({ message, opt = {}, plugin }: RendererProps) => {
<>
{
messageText && !close && (
<div className={`sol ${editorOptions.type} ${classList}`} data-id={editorOptions.errFile} onClick={() => handleErrorClick(editorOptions)}>
<div className={`remixui_sol ${editorOptions.type} ${classList}`} data-id={editorOptions.errFile} onClick={() => handleErrorClick(editorOptions)}>
{ editorOptions.useSpan ? <span> { messageText } </span> : <pre><span>{ messageText }</span></pre> }
<div className="close" data-id="renderer" onClick={handleClose}>
<i className="fas fa-times"></i>

Loading…
Cancel
Save