Improve layout of new transaction on mobile

This commit is contained in:
Jan Bader 2022-04-19 21:13:52 +00:00
parent ff06693f60
commit e4df2f0de5
4 changed files with 5 additions and 4 deletions

View File

@ -86,7 +86,7 @@ function clear() {
v-if="id == undefined" v-if="id == undefined"
v-model="SearchQuery" v-model="SearchQuery"
type="text" type="text"
class="border-b-2 border-black" class="border-b-2 border-black block w-full border-b-2 border-black"
@keypress="keypress" @keypress="keypress"
/> />
<span <span

View File

@ -48,7 +48,7 @@ function submitDialog() {
class="fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full" class="fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full"
> >
<div <div
class="relative top-20 mx-auto p-5 w-96 shadow-lg rounded-md bg-white dark:bg-black" class="relative md:top-20 md:mx-auto p-5 md:w-96 shadow-lg md:h-auto h-full rounded-md bg-white dark:bg-black"
> >
<div class="mt-3 text-center"> <div class="mt-3 text-center">
<h3 <h3

View File

@ -63,7 +63,7 @@ defineExpose({Save});
<td class="text-sm"> <td class="text-sm">
<DateInput <DateInput
v-model="TX.Date" v-model="TX.Date"
class="border-b-2 border-black" class="block w-full border-b-2 border-black"
/> />
</td> </td>
<label class="md:hidden">Payee</label> <label class="md:hidden">Payee</label>
@ -83,6 +83,7 @@ defineExpose({Save});
model="categories" model="categories"
/> />
</td> </td>
<label class="md:hidden">Memo</label>
<td class="col-span-2"> <td class="col-span-2">
<Input <Input
v-model="TX.Memo" v-model="TX.Memo"

View File

@ -162,7 +162,7 @@ function createReconcilationTransaction() {
</template> </template>
<TransactionInputRow <TransactionInputRow
ref="modalInputRow" ref="modalInputRow"
class="grid grid-cols-2" class="flex flex-col w-full h-full top-0"
:budgetid="budgetid" :budgetid="budgetid"
:accountid="accountid" :accountid="accountid"
/> />