Skip to content

Commit 6aa6fc8

Browse files
committed
fix(admin): layout of create button
1 parent 8cced33 commit 6aa6fc8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

app/components/admin/Hooks/Form.vue

+6-4
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ defineExpose({
6767
</script>
6868

6969
<template>
70-
<form class="flex flex-col items-start space-y-2 mt-4" @submit="onSubmit">
70+
<form class="flex flex-col items-start space-y-3 mt-4" @submit="onSubmit">
7171
<VInputText
7272
class="w-full"
7373
label="Title"
@@ -83,8 +83,10 @@ defineExpose({
8383
type-override="url"
8484
v-model="url"
8585
/>
86-
<VInputButton :loading="changing" type="submit">
87-
{{ isUpdating ? 'Save' : 'Create' }}
88-
</VInputButton>
86+
<div class="w-full flex justify-center">
87+
<VInputButton class="mb-1" :loading="changing" type="submit">
88+
{{ isUpdating ? 'Save' : 'Create' }}
89+
</VInputButton>
90+
</div>
8991
</form>
9092
</template>

0 commit comments

Comments
 (0)