Skip to content

Commit

Permalink
Improve dev-login-button
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmeister committed Aug 27, 2024
1 parent 8cfe909 commit d91decc
Showing 1 changed file with 23 additions and 15 deletions.
38 changes: 23 additions & 15 deletions frontend/src/views/auth/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,23 @@
<i18n :path="infoTextKey">
<template #br><br /></template>
</i18n>
<div class="text-right" style="margin-top: -26px">
<v-btn
color="warning"
height="32px"
@click="
() => {
email = '[email protected]'
password = 'test'
login()
}
"
>
Login
</v-btn>
</div>
<v-btn
text
elevation="0"
color="warning darken-3"
height="32px"
class="v-btn--has-bg float-end dev-login-button"
@click="
() => {
email = '[email protected]'
password = 'test'
login()
}
"
>
Login
<v-icon right>mdi-auto-fix</v-icon>
</v-btn>
</div>
</v-alert>
<v-alert v-if="error" outlined text border="left" type="error">
Expand Down Expand Up @@ -287,4 +289,10 @@ export default {
flex-direction: column;
}
}
.dev-login-button {
background-color: #f7e4cc !important;
margin-top: 12px;
margin-bottom: -12px;
translate: 0 -12px;
}
</style>

0 comments on commit d91decc

Please sign in to comment.