Move lauout styles from themes to css-in-js files

pull/1/head
alexcherman 5 years ago committed by Rob Stupay
parent f29335d85d
commit aa3157a6eb
  1. 2
      src/app/ui/universal-dapp-ui.js
  2. 12
      src/universal-dapp-styles.js

@ -59,7 +59,7 @@ UniversalDAppUI.prototype.renderInstanceFromABI = function (contractABI, address
var shortAddress = helper.shortenAddress(address)
var title = yo`
<div class="${css.title} alert alert-secondary run-instance-header">
<div class="${css.title} alert alert-secondary">
<button class="btn ${css.titleExpander}" onclick="${(e) => { toggleClass(e) }}">
<i class="fas fa-angle-right" aria-hidden="true"></i>
</button>

@ -14,7 +14,14 @@ var css = csjs`
word-break: break-word;
line-height: initial;
overflow: visible;
padding: 8px 10px;
padding: 8px 0;
margin: 0;
background: none;
border: none;
}
.title button {
background: none;
border: none;
}
.titleLine {
display: flex;
@ -22,14 +29,15 @@ var css = csjs`
}
.titleText {
word-break: break-word;
min-width: 170px;
width: 100%;
border: none;
}
.spanTitleText {
line-height: 12px;
padding: 0;
font-size: 11px;
width:100%;
border: none;
}
.inputGroupText {
width: 100%;

Loading…
Cancel
Save