mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 23:59:45 +02:00
UI/UX improvements (#2423)
* disable autofocus and hide keyboard on enter * improve a11y * fix non-translated string * improve recipeTimeline UI * format * fixes
This commit is contained in:
parent
1e693fdca6
commit
99e7717fec
10 changed files with 95 additions and 61 deletions
|
@ -2,7 +2,7 @@
|
|||
<v-container
|
||||
fill-height
|
||||
fluid
|
||||
class="d-flex justify-center align-center"
|
||||
class="d-flex justify-center align-center flex-column"
|
||||
:class="{
|
||||
'bg-off-white': !$vuetify.theme.dark && !isDark,
|
||||
}"
|
||||
|
@ -23,7 +23,7 @@
|
|||
</v-avatar>
|
||||
</div>
|
||||
|
||||
<v-card-title class="headline justify-center pb-1"> {{ $t('user.sign-in') }} </v-card-title>
|
||||
<v-card-title class="headline justify-center pb-3"> {{ $t('user.sign-in') }} </v-card-title>
|
||||
<v-card-text>
|
||||
<v-form @submit.prevent="authenticate">
|
||||
<v-text-field
|
||||
|
@ -68,7 +68,7 @@
|
|||
|
||||
<v-divider></v-divider>
|
||||
|
||||
<v-card-text class="d-flex justify-center">
|
||||
<v-card-text class="d-flex justify-center flex-column flex-sm-row">
|
||||
<div
|
||||
v-for="link in [
|
||||
{
|
||||
|
@ -88,6 +88,7 @@
|
|||
},
|
||||
]"
|
||||
:key="link.text"
|
||||
class="text-center"
|
||||
>
|
||||
<v-btn text :href="link.href" target="_blank">
|
||||
<v-icon left>
|
||||
|
@ -99,7 +100,7 @@
|
|||
</v-card-text>
|
||||
</v-card>
|
||||
|
||||
<v-btn absolute bottom center @click="toggleDark">
|
||||
<v-btn bottom center class="mt-5" @click="toggleDark">
|
||||
<v-icon left>
|
||||
{{ $vuetify.theme.dark ? $globals.icons.weatherSunny : $globals.icons.weatherNight }}
|
||||
</v-icon>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue