mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-22 22:10:58 +00:00
Style webusb button in left navigation panel
This commit is contained in:
parent
571522401e
commit
f412738daf
@ -14,7 +14,14 @@ import type { Props } from '../common';
|
||||
import AsideDivider from '../Divider';
|
||||
|
||||
const Wrapper = styled.div``;
|
||||
const ButtonWrapper = styled.div``;
|
||||
const ButtonWrapper = styled.div`
|
||||
margin-top: 10px;
|
||||
padding: 0 10px;
|
||||
display: flex;
|
||||
`;
|
||||
const StyledButton = styled(Button)`
|
||||
flex: 1;
|
||||
`;
|
||||
|
||||
type DeviceMenuItem = {
|
||||
type: string;
|
||||
@ -107,7 +114,7 @@ class DeviceMenu extends Component<Props> {
|
||||
/>
|
||||
<ButtonWrapper>
|
||||
{isWebUSB(transport) && (
|
||||
<Button
|
||||
<StyledButton
|
||||
className="trezor-webusb-button"
|
||||
text="Check for devices"
|
||||
isWebUsb
|
||||
|
Loading…
Reference in New Issue
Block a user