1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Remove inline style.

This commit is contained in:
Dan 2017-12-12 17:01:15 -03:30 committed by Chi Kei Chan
parent a67caee767
commit 68ef52e183
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -29,7 +29,6 @@ EditableLabel.prototype.render = function () {
]) ])
} else { } else {
return h('div.name-label', { return h('div.name-label', {
style: props.nameLabelStyle,
onClick: (event) => { onClick: (event) => {
const nameAttribute = event.target.getAttribute('name') const nameAttribute = event.target.getAttribute('name')
// checks for class to handle smaller CTA above the account name // checks for class to handle smaller CTA above the account name

View File

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