Make the error into a div instead of a button to get rid of the hover effects.

This commit is contained in:
shpuld 2017-03-09 02:21:23 +02:00
parent 0810b2d51a
commit 9511691c94
1 changed files with 5 additions and 3 deletions

View File

@ -18,7 +18,7 @@
<button :disabled="loggingIn" type='submit' class='btn btn-default base05 base01-background'>Submit</button> <button :disabled="loggingIn" type='submit' class='btn btn-default base05 base01-background'>Submit</button>
</div> </div>
<div v-if="authError" class='form-group'> <div v-if="authError" class='form-group'>
<button disabled='true' class='btn btn-default base05 error'>{{authError}}</button> <div class='error base05'>{{authError}}</div>
</div> </div>
</form> </form>
</div> </div>
@ -44,9 +44,11 @@
} }
.error { .error {
margin-top: 0em; border-radius: 5px;
margin-bottom: 0em; text-align: center;
background-color: rgba(255, 48, 16, 0.65); background-color: rgba(255, 48, 16, 0.65);
min-height: 28px;
line-height: 28px;
} }
} }