make main window flex box so announcement always renders correctly

main
Mike Fix 4 years ago
parent 6fffe84b1c
commit c733d8dd93
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -56,17 +56,13 @@ function Toast() {
} }
.toast { .toast {
margin: -4.6rem auto 0;
padding: 8px 16px; padding: 8px 16px;
color: #fff; color: #fff;
border: 1px solid #fff; border: 1px solid #fff;
border-radius: 2px; border-radius: 3px;
margin-top: -4.6rem;
animation-name: slide; animation-name: slide;
animation-duration: 600ms; animation-duration: 600ms;
margin-left: auto;
margin-right: auto;
/* fix this to only set max width when necessary (mobile) */
max-width: 63vw;
} }
.toast-content { .toast-content {

@ -21,7 +21,7 @@ class Index extends React.Component {
render() { render() {
return ( return (
<Page enableHeroText={true}> <Page enableHeroText={true} flex={true}>
<MetaLinks /> <MetaLinks />
<Either> <Either>
<EditorContainer router={this.props.router} snippet={this.props.snippet} /> <EditorContainer router={this.props.router} snippet={this.props.snippet} />

Loading…
Cancel
Save