diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-01-18 12:08:29 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2018-01-19 05:34:57 +0800 |
commit | b05d21b1ba308bdb5b758d53dd79593a7a2bf26e (patch) | |
tree | f72581d61533ab4b533f46e954276c52b0267964 /ui | |
parent | 5fff2e19d8ff6fa50da5696b3c42f5cf1f359744 (diff) | |
download | tangerine-wallet-browser-b05d21b1ba308bdb5b758d53dd79593a7a2bf26e.tar tangerine-wallet-browser-b05d21b1ba308bdb5b758d53dd79593a7a2bf26e.tar.gz tangerine-wallet-browser-b05d21b1ba308bdb5b758d53dd79593a7a2bf26e.tar.bz2 tangerine-wallet-browser-b05d21b1ba308bdb5b758d53dd79593a7a2bf26e.tar.lz tangerine-wallet-browser-b05d21b1ba308bdb5b758d53dd79593a7a2bf26e.tar.xz tangerine-wallet-browser-b05d21b1ba308bdb5b758d53dd79593a7a2bf26e.tar.zst tangerine-wallet-browser-b05d21b1ba308bdb5b758d53dd79593a7a2bf26e.zip |
Fix transaction list font sizes, padding
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/tx-list-item.js | 6 | ||||
-rw-r--r-- | ui/app/css/itcss/components/transaction-list.scss | 18 |
2 files changed, 7 insertions, 17 deletions
diff --git a/ui/app/components/tx-list-item.js b/ui/app/components/tx-list-item.js index 8a9253d4d..7ccc5c315 100644 --- a/ui/app/components/tx-list-item.js +++ b/ui/app/components/tx-list-item.js @@ -234,11 +234,7 @@ TxListItem.prototype.render = function () { style: {}, }, [ - h('span', { - className: classnames('tx-list-value', { - 'tx-list-value--confirmed': transactionStatus === 'confirmed', - }), - }, total), + h('span.tx-list-value', total), showFiatTotal && h('span.tx-list-fiat-value', fiatTotal), diff --git a/ui/app/css/itcss/components/transaction-list.scss b/ui/app/css/itcss/components/transaction-list.scss index 29001a842..c3df493df 100644 --- a/ui/app/css/itcss/components/transaction-list.scss +++ b/ui/app/css/itcss/components/transaction-list.scss @@ -73,7 +73,7 @@ } @media screen and (min-width: $break-large) { - padding-bottom: 12px; + padding-bottom: 8px; } } @@ -91,21 +91,13 @@ } .tx-list-date-wrapper { + margin-top: 6px; flex: 1 1 auto; - - @media screen and (max-width: $break-small) { - margin-top: 6px; - } - - @media screen and (min-width: $break-large) { - margin-top: 12px; - } } .tx-list-content-wrapper { align-items: stretch; margin-bottom: 4px; - margin-top: 2px; flex: 1 0 auto; width: 100%; display: flex; @@ -115,7 +107,7 @@ font-size: 12px; .tx-list-status { - font-size: 14px !important; + font-size: 12px !important; } .tx-list-account { @@ -129,7 +121,7 @@ .tx-list-fiat-value { font-size: 12px; - line-height: 16px; + line-height: 22px; } } } @@ -259,6 +251,8 @@ } .tx-list-fiat-value { + font-size: 12px; + line-height: initial; text-align: right; text-overflow: ellipsis; white-space: nowrap; |