feat: make all button fontsizes 16px by default
This commit is contained in:
parent
01b36b4949
commit
c67632dff5
@ -43,7 +43,6 @@ export class BuyButton extends React.Component<BuyButtonProps> {
|
||||
onClick={this._handleClick}
|
||||
isDisabled={shouldDisableButton}
|
||||
fontColor={ColorOption.white}
|
||||
fontSize="16px"
|
||||
>
|
||||
Buy
|
||||
</Button>
|
||||
|
@ -35,7 +35,7 @@ export const BuyOrderStateButtons: React.StatelessComponent<BuyOrderStateButtonP
|
||||
if (props.buyOrderProcessingState === OrderProcessState.Failure) {
|
||||
return (
|
||||
<Flex justify="space-between">
|
||||
<Button width="48%" onClick={props.onRetry} fontColor={ColorOption.white} fontSize="16px">
|
||||
<Button width="48%" onClick={props.onRetry} fontColor={ColorOption.white}>
|
||||
Back
|
||||
</Button>
|
||||
<SecondaryButton width="48%" onClick={props.onViewTransaction}>
|
||||
|
@ -22,7 +22,6 @@ export const InstallWalletPanelContent: React.StatelessComponent<InstallWalletPa
|
||||
<Button
|
||||
href={META_MASK_CHROME_STORE_URL}
|
||||
width="100%"
|
||||
fontSize="16px"
|
||||
fontColor={ColorOption.white}
|
||||
backgroundColor={ColorOption.darkOrange}
|
||||
>
|
||||
|
@ -7,7 +7,7 @@ import { Container } from './ui/container';
|
||||
import { Spinner } from './ui/spinner';
|
||||
|
||||
export const PlacingOrderButton: React.StatelessComponent<{}> = props => (
|
||||
<Button isDisabled={true} width="100%" fontColor={ColorOption.white} fontSize="16px">
|
||||
<Button isDisabled={true} width="100%" fontColor={ColorOption.white}>
|
||||
<Container display="inline-block" position="relative" top="3px" marginRight="8px">
|
||||
<Spinner widthPx={16} heightPx={16} />
|
||||
</Container>
|
||||
|
@ -15,8 +15,6 @@ export const SecondaryButton: React.StatelessComponent<SecondaryButtonProps> = p
|
||||
borderColor={ColorOption.lightGrey}
|
||||
width={props.width}
|
||||
onClick={props.onClick}
|
||||
fontColor={ColorOption.primaryColor}
|
||||
fontSize="16px"
|
||||
{...buttonProps}
|
||||
>
|
||||
{props.children}
|
||||
|
@ -81,7 +81,7 @@ Button.defaultProps = {
|
||||
width: 'auto',
|
||||
isDisabled: false,
|
||||
padding: '.82em 1.2em',
|
||||
fontSize: '15px',
|
||||
fontSize: '16px',
|
||||
};
|
||||
|
||||
Button.displayName = 'Button';
|
||||
|
Loading…
x
Reference in New Issue
Block a user