mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add caret to Add Token toggle
This commit is contained in:
parent
2871beebe6
commit
ba9cefb24e
@ -350,7 +350,10 @@ AddTokenScreen.prototype.render = function () {
|
||||
h('div.add-token__footers', [
|
||||
h('div.add-token__add-custom', {
|
||||
onClick: () => this.setState({ isCollapsed: !isCollapsed }),
|
||||
}, 'Add custom token'),
|
||||
}, [
|
||||
'Add custom token',
|
||||
h(`i.fa.fa-angle-${isCollapsed ? 'down' : 'up'}`),
|
||||
]),
|
||||
this.renderCustomForm(),
|
||||
]),
|
||||
]),
|
||||
|
@ -109,7 +109,18 @@
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
background-color: $gallery;
|
||||
background-color: rgba(0, 0, 0, .05);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
.fa {
|
||||
position: absolute;
|
||||
right: 24px;
|
||||
font-size: 24px;
|
||||
line-height: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user