Browse Source

fix: update webhook styles

pull/5627/head
DarkPhoenix2704 2 years ago
parent
commit
32ae2a5227
  1. 4
      packages/nc-gui/components/api-client/Headers.vue
  2. 6
      packages/nc-gui/components/api-client/Params.vue
  3. 8
      packages/nc-gui/components/webhook/Drawer.vue
  4. 4
      packages/nc-gui/components/webhook/Editor.vue
  5. 4
      packages/nc-gui/components/webhook/List.vue

4
packages/nc-gui/components/api-client/Headers.vue

@ -74,11 +74,11 @@ const filterOption = (input: string, option: Option) => {
</th>
<th>
<div class="text-center font-normal mb-2">Header Name</div>
<div class="text-left font-normal ml-2">Header Name</div>
</th>
<th>
<div class="text-center font-normal mb-2">Value</div>
<div class="text-left font-normal ml-2">Value</div>
</th>
<th>

6
packages/nc-gui/components/api-client/Params.vue

@ -15,7 +15,7 @@ const deleteParamRow = (i: number) => vModel.value.splice(i, 1)
</script>
<template>
<div class="flex flex-row justify-center">
<div class="flex flex-row justify-start">
<table>
<thead>
<tr>
@ -24,11 +24,11 @@ const deleteParamRow = (i: number) => vModel.value.splice(i, 1)
</th>
<th>
<div class="text-center font-normal mb-2">Param Name</div>
<div class="text-left font-normal ml-2">Param Name</div>
</th>
<th>
<div class="text-center font-normal mb-2">Value</div>
<div class="text-left font-normal ml-2">Value</div>
</th>
<th>

8
packages/nc-gui/components/webhook/Drawer.vue

@ -44,7 +44,13 @@ async function addHook() {
</a-layout-content>
<a-layout-footer class="!bg-white border-t flex">
<a-button v-e="['e:hiring']" class="mx-auto mb-4" href="https://angel.co/company/nocodb" target="_blank" size="large">
<a-button
v-e="['e:hiring']"
class="mx-auto mb-4 !rounded-md"
href="https://angel.co/company/nocodb"
target="_blank"
size="large"
>
🚀 {{ $t('labels.weAreHiring') }}! 🚀
</a-button>
</a-layout-footer>

4
packages/nc-gui/components/webhook/Editor.vue

@ -461,14 +461,14 @@ onMounted(async () => {
</div>
<div>
<a-button class="mr-3 nc-btn-webhook-test" size="large" @click="testWebhook">
<a-button class="mr-3 nc-btn-webhook-test !rounded-md" size="middle" @click="testWebhook">
<div class="flex items-center">
<MdiGestureDoubleTap class="mr-2" />
{{ $t('activity.testWebhook') }}
</div>
</a-button>
<a-button class="nc-btn-webhook-save" type="primary" size="large" @click.prevent="saveHooks">
<a-button class="nc-btn-webhook-save !rounded-md" type="primary" size="middle" @click.prevent="saveHooks">
<div class="flex items-center">
<component :is="iconMap.save" class="mr-2" />
<!-- Save -->

4
packages/nc-gui/components/webhook/List.vue

@ -108,9 +108,9 @@ onMounted(() => {
<a-button
v-e="['c:webhook:add']"
class="float-right nc-btn-create-webhook"
class="float-right !rounded-md nc-btn-create-webhook"
type="primary"
size="large"
size="middle"
@click="emit('add')"
>
{{ $t('activity.addWebhook') }}

Loading…
Cancel
Save