Style login page
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user