Updates the styling of confirm send ether and token screens. (#3235)

feature/default_network_editable
Dan J Miller 7 years ago committed by Alexander Tseung
parent e4c83466be
commit 35c762da47
  1. 16
      ui/app/components/pending-tx/confirm-send-ether.js
  2. 16
      ui/app/components/pending-tx/confirm-send-token.js
  3. 14
      ui/app/css/itcss/components/confirm.scss

@ -213,17 +213,15 @@ ConfirmSendEther.prototype.render = function () {
this.inputs = []
return (
h('div.confirm-screen-container.confirm-send-ether', {
style: { minWidth: '355px' },
}, [
h('div.confirm-screen-container.confirm-send-ether', [
// Main Send token Card
h('div.confirm-screen-wrapper.flex-column.flex-grow', [
h('h3.flex-center.confirm-screen-header', [
h('button.btn-clear.confirm-screen-back-button', {
h('div.page-container', [
h('div.page-container__header', [
h('button.confirm-screen-back-button', {
onClick: () => editTransaction(txMeta),
}, 'EDIT'),
h('div.confirm-screen-title', 'Confirm Transaction'),
h('div.confirm-screen-header-tip'),
}, 'Edit'),
h('div.page-container__title', 'Confirm'),
h('div.page-container__subtitle', `Please review your transaction.`),
]),
h('div.flex-row.flex-center.confirm-screen-identicons', [
h('div.confirm-screen-account-wrapper', [

@ -308,17 +308,15 @@ ConfirmSendToken.prototype.render = function () {
this.inputs = []
return (
h('div.confirm-screen-container.confirm-send-token', {
style: { minWidth: '355px' },
}, [
h('div.confirm-screen-container.confirm-send-token', [
// Main Send token Card
h('div.confirm-screen-wrapper.flex-column.flex-grow', [
h('h3.flex-center.confirm-screen-header', [
h('button.btn-clear.confirm-screen-back-button', {
h('div.page-container', [
h('div.page-container__header', [
h('button.confirm-screen-back-button', {
onClick: () => editTransaction(txMeta),
}, 'EDIT'),
h('div.confirm-screen-title', 'Confirm Transaction'),
h('div.confirm-screen-header-tip'),
}, 'Edit'),
h('div.page-container__title', 'Confirm'),
h('div.page-container__subtitle', `Please review your transaction.`),
]),
h('div.flex-row.flex-center.confirm-screen-identicons', [
h('div.confirm-screen-account-wrapper', [

@ -103,15 +103,13 @@
}
.confirm-screen-back-button {
background: transparent;
left: 24px;
color: $curious-blue;
font-family: Roboto;
font-size: 1rem;
position: absolute;
padding: 6px 12px;
font-size: .7rem;
@media screen and (max-width: $break-small) {
margin-right: 12px;
}
top: 38px;
right: 38px;
background: none;
}
.confirm-screen-account-wrapper {

Loading…
Cancel
Save