mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-26 00:48:35 +00:00
forget button in "other devices"
This commit is contained in:
parent
9125fbcd61
commit
9c475e4005
@ -201,12 +201,16 @@ export class DeviceDropdown extends Component<Props> {
|
||||
<span className="label">{ dev.instanceLabel }</span>
|
||||
<span className="status">{ deviceStatus }</span>
|
||||
</div>
|
||||
<div className="forget-button" onMouseDown={ (event) => {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
this.onDeviceMenuClick({ type: 'forget', label: ''}, dev);
|
||||
} }> </div>
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
|
||||
return (
|
||||
<section>
|
||||
{ currentDeviceMenu }
|
||||
|
@ -196,6 +196,20 @@ aside {
|
||||
font-size: 11px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.forget-button {
|
||||
color: @color_text_secondary;
|
||||
.hover();
|
||||
&:before {
|
||||
.icomoon-eject;
|
||||
position: relative;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: @color_text_primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.device-menu {
|
||||
|
Loading…
Reference in New Issue
Block a user