mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-02-20 20:15:27 +01:00
fix: text alignment (#1158)
This commit is contained in:
@@ -13,7 +13,7 @@ import {
|
||||
<template>
|
||||
<FormField name="actiondata.requirements" v-slot="{ componentField }">
|
||||
<FormItem>
|
||||
<FormLabel for="requirements" class="text-right">requirements.txt</FormLabel>
|
||||
<FormLabel for="requirements" class="text-left">requirements.txt</FormLabel>
|
||||
<FormControl>
|
||||
<GrowTextarea id="requirements" class="col-span-3" v-bind="componentField" />
|
||||
</FormControl>
|
||||
@@ -23,7 +23,7 @@ import {
|
||||
</FormField>
|
||||
<FormField name="actiondata.script" v-slot="{ componentField }" validate-on-input>
|
||||
<FormItem>
|
||||
<FormLabel for="script" class="text-right">Script</FormLabel>
|
||||
<FormLabel for="script" class="text-left">Script</FormLabel>
|
||||
<FormControl>
|
||||
<GrowTextarea id="script" class="col-span-3" v-bind="componentField" />
|
||||
</FormControl>
|
||||
|
||||
@@ -14,7 +14,7 @@ import { Input } from '@/components/ui/input'
|
||||
<template>
|
||||
<FormField name="actiondata.headers" v-slot="{ value, handleChange }">
|
||||
<FormItem>
|
||||
<FormLabel for="headers" class="text-right">Headers</FormLabel>
|
||||
<FormLabel for="headers" class="text-left">Headers</FormLabel>
|
||||
<FormControl>
|
||||
<GrowListTextarea
|
||||
id="headers"
|
||||
@@ -29,7 +29,7 @@ import { Input } from '@/components/ui/input'
|
||||
</FormField>
|
||||
<FormField name="actiondata.url" v-slot="{ componentField }" validate-on-input>
|
||||
<FormItem>
|
||||
<FormLabel for="url" class="text-right">URL</FormLabel>
|
||||
<FormLabel for="url" class="text-left">URL</FormLabel>
|
||||
<FormControl>
|
||||
<Input id="url" v-bind="componentField" placeholder="https://example.com/webhook" />
|
||||
</FormControl>
|
||||
|
||||
@@ -267,7 +267,7 @@ const curlExample = computed(() => {
|
||||
<form @submit="onSubmit" class="flex w-full flex-col items-start gap-4">
|
||||
<FormField name="name" v-slot="{ componentField }" validate-on-input>
|
||||
<FormItem class="w-full">
|
||||
<FormLabel for="name" class="text-right">Name</FormLabel>
|
||||
<FormLabel for="name" class="text-left">Name</FormLabel>
|
||||
<Input id="name" class="col-span-3" v-bind="componentField" />
|
||||
<FormMessage />
|
||||
</FormItem>
|
||||
@@ -280,7 +280,7 @@ const curlExample = computed(() => {
|
||||
<CardContent class="flex flex-col gap-4">
|
||||
<FormField name="trigger" v-slot="{ componentField }" validate-on-input>
|
||||
<FormItem>
|
||||
<FormLabel for="trigger" class="text-right">Type</FormLabel>
|
||||
<FormLabel for="trigger" class="text-left">Type</FormLabel>
|
||||
<FormControl>
|
||||
<Select id="trigger" class="col-span-3" v-bind="componentField">
|
||||
<SelectTrigger class="font-medium">
|
||||
@@ -321,7 +321,7 @@ const curlExample = computed(() => {
|
||||
<CardContent class="flex flex-col gap-4">
|
||||
<FormField name="action" v-slot="{ componentField }" validate-on-input>
|
||||
<FormItem>
|
||||
<FormLabel for="action" class="text-right">Type</FormLabel>
|
||||
<FormLabel for="action" class="text-left">Type</FormLabel>
|
||||
<FormControl>
|
||||
<Select id="action" class="col-span-3" v-bind="componentField">
|
||||
<SelectTrigger class="font-medium">
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
<template>
|
||||
<FormField name="triggerdata.collections" v-slot="{ componentField }" validate-on-input>
|
||||
<FormItem>
|
||||
<FormLabel for="collections" class="text-right">Collections</FormLabel>
|
||||
<FormLabel for="collections" class="text-left">Collections</FormLabel>
|
||||
<FormControl>
|
||||
<TriggerHookFormFieldCollections id="collections" v-bind="componentField" />
|
||||
</FormControl>
|
||||
@@ -25,7 +25,7 @@ import {
|
||||
|
||||
<FormField name="triggerdata.events" v-slot="{ componentField }" validate-on-input>
|
||||
<FormItem>
|
||||
<FormLabel for="events" class="text-right">Events</FormLabel>
|
||||
<FormLabel for="events" class="text-left">Events</FormLabel>
|
||||
<FormControl>
|
||||
<TriggerHookFormFieldEvents id="events" v-bind="componentField" />
|
||||
</FormControl>
|
||||
|
||||
@@ -13,7 +13,7 @@ import { Input } from '@/components/ui/input'
|
||||
<template>
|
||||
<FormField name="triggerdata.expression" v-slot="{ componentField }" validate-on-input>
|
||||
<FormItem>
|
||||
<FormLabel for="expression" class="text-right"> Cron Expression </FormLabel>
|
||||
<FormLabel for="expression" class="text-left"> Cron Expression </FormLabel>
|
||||
<FormControl>
|
||||
<Input
|
||||
id="expression"
|
||||
|
||||
@@ -13,7 +13,7 @@ import { Input } from '@/components/ui/input'
|
||||
<template>
|
||||
<FormField name="triggerdata.token" v-slot="{ componentField }" validate-on-input>
|
||||
<FormItem>
|
||||
<FormLabel for="token" class="text-right">Token</FormLabel>
|
||||
<FormLabel for="token" class="text-left">Token</FormLabel>
|
||||
<FormControl>
|
||||
<Input id="token" class="col-span-3" v-bind="componentField" placeholder="Enter a token" />
|
||||
</FormControl>
|
||||
@@ -27,7 +27,7 @@ import { Input } from '@/components/ui/input'
|
||||
|
||||
<FormField name="triggerdata.path" v-slot="{ componentField }" validate-on-input>
|
||||
<FormItem>
|
||||
<FormLabel for="path" class="text-right">Path</FormLabel>
|
||||
<FormLabel for="path" class="text-left">Path</FormLabel>
|
||||
<FormControl>
|
||||
<Input id="path" class="col-span-3" v-bind="componentField" placeholder="Enter a path" />
|
||||
</FormControl>
|
||||
|
||||
Reference in New Issue
Block a user