1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-23 06:21:06 +00:00

Style webusb button in left navigation panel

This commit is contained in:
Vasek Mlejnsky 2018-08-28 08:31:52 +02:00
parent 571522401e
commit f412738daf

View File

@ -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