From 3a2da0a031b7a68eab75e77e42ea33eb061a43c4 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 14 Sep 2021 10:32:14 +0200 Subject: [PATCH] fix compiler iframe ui --- libs/remix-ui/renderer/src/lib/renderer.css | 1 + libs/remix-ui/renderer/src/lib/renderer.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/remix-ui/renderer/src/lib/renderer.css b/libs/remix-ui/renderer/src/lib/renderer.css index 67e6d5b82f..26b05fc019 100644 --- a/libs/remix-ui/renderer/src/lib/renderer.css +++ b/libs/remix-ui/renderer/src/lib/renderer.css @@ -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; diff --git a/libs/remix-ui/renderer/src/lib/renderer.tsx b/libs/remix-ui/renderer/src/lib/renderer.tsx index f61695abd5..41f345cf3d 100644 --- a/libs/remix-ui/renderer/src/lib/renderer.tsx +++ b/libs/remix-ui/renderer/src/lib/renderer.tsx @@ -102,7 +102,7 @@ export const Renderer = ({ message, opt = {}, plugin }: RendererProps) => { <> { messageText && !close && ( -
handleErrorClick(editorOptions)}> +
handleErrorClick(editorOptions)}> { editorOptions.useSpan ? { messageText } :
{ messageText }
}