Commit aa3157a6 authored by alexcherman's avatar alexcherman Committed by Rob Stupay

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

parent f29335d8
...@@ -59,7 +59,7 @@ UniversalDAppUI.prototype.renderInstanceFromABI = function (contractABI, address ...@@ -59,7 +59,7 @@ UniversalDAppUI.prototype.renderInstanceFromABI = function (contractABI, address
var shortAddress = helper.shortenAddress(address) var shortAddress = helper.shortenAddress(address)
var title = yo` 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) }}"> <button class="btn ${css.titleExpander}" onclick="${(e) => { toggleClass(e) }}">
<i class="fas fa-angle-right" aria-hidden="true"></i> <i class="fas fa-angle-right" aria-hidden="true"></i>
</button> </button>
......
...@@ -14,7 +14,14 @@ var css = csjs` ...@@ -14,7 +14,14 @@ var css = csjs`
word-break: break-word; word-break: break-word;
line-height: initial; line-height: initial;
overflow: visible; overflow: visible;
padding: 8px 10px; padding: 8px 0;
margin: 0;
background: none;
border: none;
}
.title button {
background: none;
border: none;
} }
.titleLine { .titleLine {
display: flex; display: flex;
...@@ -22,14 +29,15 @@ var css = csjs` ...@@ -22,14 +29,15 @@ var css = csjs`
} }
.titleText { .titleText {
word-break: break-word; word-break: break-word;
min-width: 170px;
width: 100%; width: 100%;
border: none;
} }
.spanTitleText { .spanTitleText {
line-height: 12px; line-height: 12px;
padding: 0; padding: 0;
font-size: 11px; font-size: 11px;
width:100%; width:100%;
border: none;
} }
.inputGroupText { .inputGroupText {
width: 100%; width: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment