Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Remove redundant button style in ProjectWebhookForm

天舟8e9a092c2f6d
diff --git a/frontend/src/components/ProjectWebhookForm.vue b/frontend/src/components/ProjectWebhookForm.vue
index 31b9887aa6..81d68cb829 100644
--- a/frontend/src/components/ProjectWebhookForm.vue
+++ b/frontend/src/components/ProjectWebhookForm.vue
@@ -162,18 +162,14 @@
@confirm="deleteWebhook"
/>
<div>
- <button
- type="button"
- class="btn-normal py-2 px-4"
- @click.prevent="cancel"
- >
+ <button type="button" class="btn-normal" @click.prevent="cancel">
{{ allowEdit ? "Cancel" : "Back" }}
</button>
<template v-if="allowEdit">
<button
v-if="create"
type="submit"
- class="btn-primary ml-3 inline-flex justify-center py-2 px-4"
+ class="btn-primary ml-3"
:disabled="!allowCreate"
@click.prevent="createWebhook"
>
@@ -182,7 +178,7 @@
<button
v-else
type="submit"
- class="btn-primary ml-3 inline-flex justify-center py-2 px-4"
+ class="btn-primary ml-3"
:disabled="!valueChanged"
@click.prevent="updateWebhook"
>