mirror of
https://github.com/trezor/trezor-wallet
synced 2025-08-05 05:15:28 +00:00
set max-width for settings page
This commit is contained in:
parent
7d7d6e44bf
commit
ea60907362
@ -20,9 +20,12 @@ import l10nCommonMessages from 'views/common.messages';
|
|||||||
import l10nMessages from './index.messages';
|
import l10nMessages from './index.messages';
|
||||||
import type { Props } from './Container';
|
import type { Props } from './Container';
|
||||||
|
|
||||||
|
const StyledContent = styled(Content)`
|
||||||
|
max-width: 800px;
|
||||||
|
`;
|
||||||
|
|
||||||
const CurrencySelect = styled(Select)`
|
const CurrencySelect = styled(Select)`
|
||||||
min-width: 77px;
|
min-width: 77px;
|
||||||
/* max-width: 200px; */
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Label = styled.div`
|
const Label = styled.div`
|
||||||
@ -72,7 +75,7 @@ const buildCurrencyOption = currency => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const WalletSettings = (props: Props) => (
|
const WalletSettings = (props: Props) => (
|
||||||
<Content>
|
<StyledContent>
|
||||||
<Section>
|
<Section>
|
||||||
<LabelTop>
|
<LabelTop>
|
||||||
<FormattedMessage {...l10nMessages.TR_LOCAL_CURRENCY} />
|
<FormattedMessage {...l10nMessages.TR_LOCAL_CURRENCY} />
|
||||||
@ -117,7 +120,7 @@ const WalletSettings = (props: Props) => (
|
|||||||
</Link>
|
</Link>
|
||||||
</Buttons>
|
</Buttons>
|
||||||
</Actions>
|
</Actions>
|
||||||
</Content>
|
</StyledContent>
|
||||||
);
|
);
|
||||||
|
|
||||||
export default WalletSettings;
|
export default WalletSettings;
|
||||||
|
Loading…
Reference in New Issue
Block a user