Remove inline style.

feature/default_network_editable
Dan 7 years ago committed by Chi Kei Chan
parent a67caee767
commit 68ef52e183
  1. 3
      old-ui/app/account-detail.js
  2. 1
      old-ui/app/components/editable-label.js
  3. 4
      old-ui/app/css/index.css

@ -89,9 +89,6 @@ AccountDetailScreen.prototype.render = function () {
state: {
isEditingLabel: false,
},
nameLabelStyle: {
marginLeft: '15px',
},
saveText: (text) => {
props.dispatch(actions.saveAccountLabel(selected, text))
},

@ -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

@ -438,6 +438,10 @@ input.large-input {
flex-wrap: wrap;
overflow-y: auto;
flex-direction: inherit;
.name-label {
margin-left: 15px;
}
}
.grow-tenx {

Loading…
Cancel
Save