aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-12-13 04:31:15 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-12-13 04:31:52 +0800
commit68ef52e183c8564de83e7d8d41d90c5790f2c1be (patch)
tree14ca127f504d283d3b1eda85a369d3f5cd28fccb /old-ui
parenta67caee76705de4d7b4d6c0129773f975719eaf1 (diff)
downloadtangerine-wallet-browser-68ef52e183c8564de83e7d8d41d90c5790f2c1be.tar
tangerine-wallet-browser-68ef52e183c8564de83e7d8d41d90c5790f2c1be.tar.gz
tangerine-wallet-browser-68ef52e183c8564de83e7d8d41d90c5790f2c1be.tar.bz2
tangerine-wallet-browser-68ef52e183c8564de83e7d8d41d90c5790f2c1be.tar.lz
tangerine-wallet-browser-68ef52e183c8564de83e7d8d41d90c5790f2c1be.tar.xz
tangerine-wallet-browser-68ef52e183c8564de83e7d8d41d90c5790f2c1be.tar.zst
tangerine-wallet-browser-68ef52e183c8564de83e7d8d41d90c5790f2c1be.zip
Remove inline style.
Diffstat (limited to 'old-ui')
-rw-r--r--old-ui/app/account-detail.js3
-rw-r--r--old-ui/app/components/editable-label.js1
-rw-r--r--old-ui/app/css/index.css4
3 files changed, 4 insertions, 4 deletions
diff --git a/old-ui/app/account-detail.js b/old-ui/app/account-detail.js
index 121f84a0d..ee7eb1258 100644
--- a/old-ui/app/account-detail.js
+++ b/old-ui/app/account-detail.js
@@ -89,9 +89,6 @@ AccountDetailScreen.prototype.render = function () {
state: {
isEditingLabel: false,
},
- nameLabelStyle: {
- marginLeft: '15px',
- },
saveText: (text) => {
props.dispatch(actions.saveAccountLabel(selected, text))
},
diff --git a/old-ui/app/components/editable-label.js b/old-ui/app/components/editable-label.js
index 88993d837..8a5c8954f 100644
--- a/old-ui/app/components/editable-label.js
+++ b/old-ui/app/components/editable-label.js
@@ -29,7 +29,6 @@ EditableLabel.prototype.render = function () {
])
} else {
return h('div.name-label', {
- style: props.nameLabelStyle,
onClick: (event) => {
const nameAttribute = event.target.getAttribute('name')
// checks for class to handle smaller CTA above the account name
diff --git a/old-ui/app/css/index.css b/old-ui/app/css/index.css
index d47d81e58..1dcda897b 100644
--- a/old-ui/app/css/index.css
+++ b/old-ui/app/css/index.css
@@ -438,6 +438,10 @@ input.large-input {
flex-wrap: wrap;
overflow-y: auto;
flex-direction: inherit;
+
+ .name-label {
+ margin-left: 15px;
+ }
}
.grow-tenx {