From 68ef52e183c8564de83e7d8d41d90c5790f2c1be Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 12 Dec 2017 17:01:15 -0330 Subject: [PATCH] Remove inline style. --- old-ui/app/account-detail.js | 3 --- old-ui/app/components/editable-label.js | 1 - old-ui/app/css/index.css | 4 ++++ 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 {