fix button styling to work on safari

This commit is contained in:
Barry Gitarts 2018-07-30 21:11:20 -04:00
parent 09b04ae281
commit b85bbb2d8c
4 changed files with 5 additions and 3 deletions

View File

@ -231,7 +231,7 @@ const InnerForm = ({
<div> <div>
<LookupForm {...{ handleSubmit, values, handleChange }} justSearch /> <LookupForm {...{ handleSubmit, values, handleChange }} justSearch />
<ConnectedRegister <ConnectedRegister
style={{ margin: '10px'}} style={{ position: 'relative' }}
setStatus={setStatus} setStatus={setStatus}
domainName={values.domainName} /> domainName={values.domainName} />
</div> </div>

View File

@ -28,6 +28,7 @@ const InnerForm = ({
statusContactCode statusContactCode
}) => ( }) => (
<form onSubmit={handleSubmit}> <form onSubmit={handleSubmit}>
<div style={{ margin: '10px' }}>
{!subDomain && {!subDomain &&
<FieldGroup <FieldGroup
id="subDomain" id="subDomain"
@ -120,6 +121,7 @@ const InnerForm = ({
<MobileButton type="submit" text="Register with transaction" style={{ width: '100%' }}/> <MobileButton type="submit" text="Register with transaction" style={{ width: '100%' }}/>
</div> </div>
</Hidden> </Hidden>
</div>
</form> </form>
); );

View File

@ -9,7 +9,7 @@ const styles = theme => ({
button: { button: {
margin: theme.spacing.unit, margin: theme.spacing.unit,
borderRadius: '4px', borderRadius: '4px',
backgroundColor: 'rgb(67, 96, 223, 0.1)', backgroundColor: 'rgba(67, 96, 223, 0.1)',
} }
}); });

View File

@ -6,7 +6,7 @@ import Button from '@material-ui/core/Button';
const styles = theme => ({ const styles = theme => ({
button: { button: {
borderRadius: '4px', borderRadius: '4px',
backgroundColor: 'rgb(67, 96, 223, 0.1)', backgroundColor: 'rgba(67, 96, 223, 0.1)',
} }
}); });
const buttonText = { color: '#4360df', margin: '0 20px', fontWeight: 300 }; const buttonText = { color: '#4360df', margin: '0 20px', fontWeight: 300 };