Style login page

This commit is contained in:
Jan Tuomi
2019-01-28 21:37:47 +02:00
parent dd43ec42ee
commit 7ffa3738ee
2 changed files with 20 additions and 1 deletions
@@ -1,7 +1,26 @@
@import "../../assets/scss/globals";
.admin-container {
display: flex;
flex-flow: row nowrap;
justify-content: flex-start;
align-items: flex-start;
flex: 1;
label {
margin-bottom: 0.5rem;
}
input {
padding: 0.3rem 0.5rem;
margin-bottom: 0.5rem;
}
input[type="submit"] {
border: none;
outline: none;
background-color: $orange2;
padding: 0.5rem 1rem;
color: $white;
}
}
+1 -1
View File
@@ -117,7 +117,7 @@ class AdminLoginPage extends React.Component<AdminLoginPageProps, AdminLoginPage
<label>Password
<input id="login-password" type="password" name="password" value={password} onChange={this.handlePasswordChange} />
</label>
<input id="login-submit" type="submit" />
<input id="login-submit" type="submit" value="Log in" />
</form>
{ this.renderError() }
</div>