Merge pull request #1917 from ethereum/yann300-patch-29

Update renderer-styles.js
pull/3094/head
yann300 6 years ago committed by GitHub
commit 2674786ce3
  1. 3
      src/app/ui/styles/renderer-styles.js

@ -5,6 +5,7 @@ var css = yo`<style>
.sol.error, .sol.error,
.sol.staticAnalysisWarning, .sol.staticAnalysisWarning,
.sol.warning { .sol.warning {
white-space: pre-line;
word-wrap: break-word; word-wrap: break-word;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
@ -18,6 +19,7 @@ var css = yo`<style>
.sol.error pre, .sol.error pre,
.sol.staticAnalysisWarning pre, .sol.staticAnalysisWarning pre,
.sol.warning pre { .sol.warning pre {
white-space: pre-line;
overflow-y: hidden; overflow-y: hidden;
background-color: transparent; background-color: transparent;
margin: 0; margin: 0;
@ -31,6 +33,7 @@ var css = yo`<style>
.sol.staticAnalysisWarning .close, .sol.staticAnalysisWarning .close,
.sol.error .close, .sol.error .close,
.sol.warning .close { .sol.warning .close {
white-space: pre-line;
font-weight: bold; font-weight: bold;
position: absolute; position: absolute;
color: hsl(0, 0%, 0%); /* black in style-guide.js */ color: hsl(0, 0%, 0%); /* black in style-guide.js */

Loading…
Cancel
Save