fix compiler iframe ui

pull/1588/head
yann300 3 years ago
parent 414b96f44f
commit a145f8f457
  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.success .close,
.remixui_sol.error .close, .remixui_sol.error .close,
.remixui_sol.warning .close { .remixui_sol.warning .close {
visibility: hidden;
white-space: pre-line; white-space: pre-line;
font-weight: bold; font-weight: bold;
position: absolute; position: absolute;

@ -102,7 +102,7 @@ export const Renderer = ({ message, opt = {}, plugin }: RendererProps) => {
<> <>
{ {
messageText && !close && ( 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> } { editorOptions.useSpan ? <span> { messageText } </span> : <pre><span>{ messageText }</span></pre> }
<div className="close" data-id="renderer" onClick={handleClose}> <div className="close" data-id="renderer" onClick={handleClose}>
<i className="fas fa-times"></i> <i className="fas fa-times"></i>

Loading…
Cancel
Save