Fix login form on mobile
This commit is contained in:
parent
b354ab51e7
commit
b32976043f
2 changed files with 12 additions and 6 deletions
|
@ -49,7 +49,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="field is-grouped">
|
<div class="field is-grouped login-buttons">
|
||||||
<div class="control is-expanded">
|
<div class="control is-expanded">
|
||||||
<button type="submit" class="button is-primary" v-bind:class="{ 'is-loading': loading}">Login
|
<button type="submit" class="button is-primary" v-bind:class="{ 'is-loading': loading}">Login
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -22,12 +22,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.noauth-container {
|
.noauth-container {
|
||||||
width: 450px;
|
max-width: 450px;
|
||||||
|
width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 1rem 0;
|
padding: 1rem;
|
||||||
|
|
||||||
@media screen and (max-width: calc(450px + 2rem)) {
|
@media screen and (max-width: 450px) {
|
||||||
width: 100%;
|
.login-buttons {
|
||||||
padding: 1rem;
|
flex-direction: column;
|
||||||
|
|
||||||
|
.control:first-child {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue