@@ -26,7 +26,7 @@ export default () => {
<CSSTransition in={hasSavedInfo} mountOnEnter unmountOnExit timeout={500} classNames="fade">
<Rejoin />
</CSSTransition>
- <div className={styles.form}><GameCreationForm afterCreate={(gameId) => dispatch.goToLobby(gameId)} /></div>
+ <GameCreationForm afterCreate={(gameId) => dispatch.goToLobby(gameId)} />
</div>
);
}
@@ -3,20 +3,18 @@
height: 100%;
display: flex;
flex-flow: column nowrap;
- justify-content: flex-end;
+ justify-content: center;
align-items: center;
-.form {
- margin-bottom: 40%;
- margin-top: 30%;
-}
-
.rejoinLabel {
margin-bottom: 0.5em;
.rejoinSection {
+ top: 20%;
+ position: absolute;
+ flex: 1;
justify-content: flex-end;