Merge pull request #1588 from ethereum/fix_compiler_iframe_ui

Fix compiler iframe ui
pull/5370/head
Rob 3 years ago committed by GitHub
commit ef96dc8d24
  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