1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

ui - use relative location for images

This commit is contained in:
kumavis 2018-03-28 22:30:35 -07:00
parent cf82e766d4
commit 10609493c5
4 changed files with 5 additions and 5 deletions

View File

@ -171,7 +171,7 @@ App.prototype.renderAppBar = function () {
h('img', { h('img', {
height: 24, height: 24,
width: 24, width: 24,
src: '/images/icon-128.png', src: './images/icon-128.png',
}), }),
h(NetworkIndicator, { h(NetworkIndicator, {

View File

@ -288,7 +288,7 @@ App.prototype.renderAppBar = function () {
h('img.metafox-icon', { h('img.metafox-icon', {
height: 42, height: 42,
width: 42, width: 42,
src: '/images/metamask-fox.svg', src: './images/metamask-fox.svg',
}), }),
// metamask name // metamask name

View File

@ -165,7 +165,7 @@ DepositEtherModal.prototype.render = function () {
this.renderRow({ this.renderRow({
logo: h('div.deposit-ether-modal__logo', { logo: h('div.deposit-ether-modal__logo', {
style: { style: {
backgroundImage: 'url(\'../../../images/coinbase logo.png\')', backgroundImage: 'url(\'./images/coinbase logo.png\')',
height: '40px', height: '40px',
}, },
}), }),
@ -179,7 +179,7 @@ DepositEtherModal.prototype.render = function () {
this.renderRow({ this.renderRow({
logo: h('div.deposit-ether-modal__logo', { logo: h('div.deposit-ether-modal__logo', {
style: { style: {
backgroundImage: 'url(\'../../../images/shapeshift logo.png\')', backgroundImage: 'url(\'./images/shapeshift logo.png\')',
}, },
}), }),
title: SHAPESHIFT_ROW_TITLE, title: SHAPESHIFT_ROW_TITLE,

View File

@ -46,7 +46,7 @@ class SenderToRecipient extends Component {
h('img', { h('img', {
height: 15, height: 15,
width: 15, width: 15,
src: '/images/arrow-right.svg', src: './images/arrow-right.svg',
}), }),
]), ]),
]), ]),