1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-02-06 21:22:45 +00:00

set max-width for settings page

This commit is contained in:
slowbackspace 2019-03-15 11:41:18 +01:00
parent 7d7d6e44bf
commit ea60907362

View File

@ -20,9 +20,12 @@ import l10nCommonMessages from 'views/common.messages';
import l10nMessages from './index.messages';
import type { Props } from './Container';
const StyledContent = styled(Content)`
max-width: 800px;
`;
const CurrencySelect = styled(Select)`
min-width: 77px;
/* max-width: 200px; */
`;
const Label = styled.div`
@ -72,7 +75,7 @@ const buildCurrencyOption = currency => {
};
const WalletSettings = (props: Props) => (
<Content>
<StyledContent>
<Section>
<LabelTop>
<FormattedMessage {...l10nMessages.TR_LOCAL_CURRENCY} />
@ -117,7 +120,7 @@ const WalletSettings = (props: Props) => (
</Link>
</Buttons>
</Actions>
</Content>
</StyledContent>
);
export default WalletSettings;