positioning of copy btn

pull/5370/head
lianahus 2 years ago committed by Aniket
parent 2550ad07bd
commit 7fe58bad19
  1. 15
      libs/remix-ui/renderer/src/lib/renderer.css
  2. 2
      libs/remix-ui/renderer/src/lib/renderer.tsx

@ -37,12 +37,11 @@
padding: 0.5em; padding: 0.5em;
} }
.remixui_sol.error { .remixui_sol.success a,
} .remixui_sol.error a,
.remixui_sol.warning a {
.remixui_sol.warning { position: absolute;
} bottom: 0;
right: 0;
.remixui_sol.success { padding: 0.5em;
/* background-color: // styles.rightPanel.message_Success_BackgroundColor; */
} }

@ -78,7 +78,7 @@ export const Renderer = ({ message, opt = {}, plugin }: RendererProps) => {
<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>
</div> </div>
<CopyToClipboard content={messageText} className={`far fa-copy ${classList}`} direction={"top"} /> <CopyToClipboard content={messageText} className={` p-0 m-0 far fa-copy ${classList}`} direction={"top"} />
</div>) </div>)
} }
</> </>

Loading…
Cancel
Save