Add html and css for responsive retry button.

feature/default_network_editable
Dan 7 years ago
parent 5572345b78
commit 6cee76b3e7
  1. 9
      ui/app/components/tx-list-item.js
  2. 47
      ui/app/css/itcss/components/transaction-list.scss
  3. 1
      ui/app/css/itcss/settings/variables.scss

@ -240,6 +240,15 @@ TxListItem.prototype.render = function () {
]), ]),
]), ]),
h('div.tx-list-item-retry-container', [
h('span.tx-list-item-retry-copy', 'Taking too long?'),
h('span.tx-list-item-retry-link', 'Increase the gas on your transaction'),
]),
]), // holding on icon from design ]), // holding on icon from design
]) ])
} }

@ -126,6 +126,53 @@
} }
} }
.tx-list-item-retry-container {
background: #d1edff;
width: 100%;
border-radius: 4px;
font-size: 0.8em;
display: flex;
justify-content: center;
margin-left: 44px;
width: calc(100% - 44px);
@media screen and (min-width: 576px) and (max-width: 679px) {
flex-flow: column;
align-items: center;
}
@media screen and (min-width: 380px) and (max-width: 575px) {
flex-flow: row;
}
@media screen and (max-width: 379px) {
flex-flow: column;
align-items: center;
}
}
.tx-list-item-retry-copy {
font-family: Roboto;
}
.tx-list-item-retry-link {
text-decoration: underline;
margin-left: 6px;
cursor: pointer;
@media screen and (min-width: 576px) and (max-width: 679px) {
margin-left: 0px;
}
@media screen and (min-width: 380px) and (max-width: 575px) {
margin-left: 6px;
}
@media screen and (max-width: 379px) {
margin-left: 0px;
}
}
.tx-list-date { .tx-list-date {
color: $dusty-gray; color: $dusty-gray;
font-size: 12px; font-size: 12px;

@ -46,6 +46,7 @@ $manatee: #93949d;
$spindle: #c7ddec; $spindle: #c7ddec;
$mid-gray: #5b5d67; $mid-gray: #5b5d67;
$cape-cod: #38393a; $cape-cod: #38393a;
$onahau: #d1edff;
/* /*
Z-Indicies Z-Indicies

Loading…
Cancel
Save