Change the max container width to 30rem.

master
Tom Hacohen 6 years ago
parent 8e8397eef1
commit 7336fe5527

@ -86,7 +86,7 @@ class JournalEdit extends React.PureComponent<PropsTypeInner> {
return (
<>
<AppBarOverride title={pageTitle} />
<Container style={{maxWidth: 400}}>
<Container style={{maxWidth: '30rem'}}>
<form onSubmit={this.onSubmit}>
<FormControl disabled={this.props.item !== undefined} style={styles.fullWidth} >
<InputLabel>

@ -36,7 +36,7 @@ class JournalMembers extends React.PureComponent<PropsTypeInner> {
return (
<>
<AppBarOverride title={`${info.displayName} - Members`} />
<Container style={{maxWidth: 400}}>
<Container style={{maxWidth: '30rem'}}>
{ members ?
(members.length > 0 ?
<List>

@ -47,7 +47,7 @@ class LoginGate extends React.Component {
};
return (
<Container style={{maxWidth: 400}}>
<Container style={{maxWidth: '30rem'}}>
<h2>Please Log In</h2>
<LoginForm
onSubmit={this.onFormSubmit}
@ -71,7 +71,7 @@ class LoginGate extends React.Component {
);
} else if (this.props.credentials.value.encryptionKey === null) {
return (
<Container style={{maxWidth: 400}}>
<Container style={{maxWidth: '30rem'}}>
<h2>Encryption Password</h2>
<p>
You are logged in as <strong>{this.props.credentials.value.credentials.email}</strong>.

@ -133,7 +133,7 @@ const CollectionRoutes = withStyles(styles)(withRouter(
path={routeResolver.getRoute(props.routePrefix + '.new')}
exact={true}
render={({match}) => (
<Container style={{maxWidth: 400}}>
<Container style={{maxWidth: '30rem'}}>
<ComponentEdit
collections={props.collections}
onSave={props.onItemSave}
@ -146,7 +146,7 @@ const CollectionRoutes = withStyles(styles)(withRouter(
path={routeResolver.getRoute(props.routePrefix + '._id.edit')}
exact={true}
render={({match}) => (
<Container style={{maxWidth: 400}}>
<Container style={{maxWidth: '30rem'}}>
{(match.params.itemUid in props.items) &&
<ComponentEdit
initialCollection={(props.items[match.params.itemUid] as any).journalUid}

Loading…
Cancel
Save