mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Fix Transaction view styles
This commit is contained in:
parent
d0d0103bb5
commit
04ec3f0b6b
@ -4,7 +4,7 @@ import { getTransactionActionKey } from '../../helpers/transactions.util'
|
||||
|
||||
export default class TransactionAction extends PureComponent {
|
||||
static contextTypes = {
|
||||
tOrDefault: PropTypes.func,
|
||||
t: PropTypes.func,
|
||||
}
|
||||
|
||||
static propTypes = {
|
||||
@ -35,7 +35,7 @@ export default class TransactionAction extends PureComponent {
|
||||
}
|
||||
|
||||
const actionKey = await getTransactionActionKey(transaction, data)
|
||||
const action = actionKey && this.context.tOrDefault(actionKey)
|
||||
const action = actionKey && this.context.t(actionKey)
|
||||
this.setState({ transactionAction: action })
|
||||
}
|
||||
|
||||
|
@ -33,6 +33,10 @@
|
||||
&:last-child::after {
|
||||
height: 50%;
|
||||
}
|
||||
|
||||
&:first-child:last-child::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__activity-icon {
|
||||
|
@ -3,6 +3,8 @@
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
overflow-y: hidden;
|
||||
margin-top: 8px;
|
||||
border-top: 1px solid $geyser;
|
||||
|
||||
&__completed-transactions {
|
||||
display: flex;
|
||||
@ -15,7 +17,7 @@
|
||||
font-size: .875rem;
|
||||
color: $dusty-gray;
|
||||
border-bottom: 1px solid $geyser;
|
||||
padding: 16px 0 8px 20px;
|
||||
padding: 8px 0 8px 20px;
|
||||
|
||||
@media screen and (max-width: $break-small) {
|
||||
padding: 8px 0 8px 16px;
|
||||
|
Loading…
Reference in New Issue
Block a user