style(ui): cleaned up class placement

Co-Authored-By: Fredy Acuna <57413945+fredhii@users.noreply.github.com>
This commit is contained in:
Yash Kumar
2026-07-09 22:48:33 +05:30
parent a94f8b96d3
commit 92c5879438
10 changed files with 20 additions and 20 deletions
@@ -441,14 +441,14 @@ export const SaveBitbucketProvider = ({ applicationId }: Props) => {
<button
type="button"
aria-label="Remove watch path"
className="ml-1 cursor-pointer hover:text-destructive"
className="inline-flex items-center focus-visible:ring-2"
onClick={() => {
const newPaths = [...(field.value || [])];
newPaths.splice(index, 1);
form.setValue("watchPaths", newPaths);
}}
>
<X className="size-3" />
<X className="ml-1 size-3 cursor-pointer" />
</button>
</Badge>
))}
@@ -245,14 +245,14 @@ export const SaveGitProvider = ({ applicationId }: Props) => {
<button
type="button"
aria-label="Remove watch path"
className="ml-1 cursor-pointer hover:text-destructive"
className="inline-flex items-center focus-visible:ring-2"
onClick={() => {
const newPaths = [...(field.value || [])];
newPaths.splice(index, 1);
form.setValue("watchPaths", newPaths);
}}
>
<X className="size-3" />
<X className="ml-1 size-3 cursor-pointer" />
</button>
</Badge>
))}
@@ -469,14 +469,14 @@ export const SaveGiteaProvider = ({ applicationId }: Props) => {
<button
type="button"
aria-label="Remove watch path"
className="cursor-pointer hover:text-destructive"
className="inline-flex items-center focus-visible:ring-2"
onClick={() => {
const newPaths = [...(field.value || [])];
newPaths.splice(index, 1);
field.onChange(newPaths);
}}
>
<X className="size-3" />
<X className="size-3 cursor-pointer hover:text-destructive" />
</button>
</Badge>
))}
@@ -481,14 +481,14 @@ export const SaveGithubProvider = ({ applicationId }: Props) => {
<button
type="button"
aria-label="Remove watch path"
className="cursor-pointer hover:text-destructive"
className="inline-flex items-center focus-visible:ring-2"
onClick={() => {
const newPaths = [...(field.value || [])];
newPaths.splice(index, 1);
field.onChange(newPaths);
}}
>
<X className="size-3" />
<X className="size-3 cursor-pointer hover:text-destructive" />
</button>
</Badge>
))}
@@ -462,14 +462,14 @@ export const SaveGitlabProvider = ({ applicationId }: Props) => {
<button
type="button"
aria-label="Remove watch path"
className="cursor-pointer hover:text-destructive"
className="inline-flex items-center focus-visible:ring-2"
onClick={() => {
const newPaths = [...(field.value || [])];
newPaths.splice(index, 1);
field.onChange(newPaths);
}}
>
<X className="size-3" />
<X className="size-3 cursor-pointer hover:text-destructive" />
</button>
</Badge>
))}
@@ -445,14 +445,14 @@ export const SaveBitbucketProviderCompose = ({ composeId }: Props) => {
<button
type="button"
aria-label="Remove watch path"
className="ml-1 cursor-pointer hover:text-destructive"
className="inline-flex items-center focus-visible:ring-2"
onClick={() => {
const newPaths = [...(field.value || [])];
newPaths.splice(index, 1);
form.setValue("watchPaths", newPaths);
}}
>
<X className="size-3" />
<X className="ml-1 size-3 cursor-pointer" />
</button>
</Badge>
))}
@@ -254,14 +254,14 @@ export const SaveGitProviderCompose = ({ composeId }: Props) => {
<button
type="button"
aria-label="Remove watch path"
className="ml-1 cursor-pointer hover:text-destructive"
className="inline-flex items-center focus-visible:ring-2"
onClick={() => {
const newPaths = [...(field.value || [])];
newPaths.splice(index, 1);
form.setValue("watchPaths", newPaths);
}}
>
<X className="size-3" />
<X className="ml-1 size-3 cursor-pointer" />
</button>
</Badge>
))}
@@ -434,14 +434,14 @@ export const SaveGiteaProviderCompose = ({ composeId }: Props) => {
<button
type="button"
aria-label="Remove watch path"
className="ml-1 cursor-pointer hover:text-destructive"
className="inline-flex items-center focus-visible:ring-2"
onClick={() => {
const newPaths = [...(field.value || [])];
newPaths.splice(index, 1);
form.setValue("watchPaths", newPaths);
}}
>
<X className="size-3" />
<X className="ml-1 size-3 cursor-pointer" />
</button>
</Badge>
))}
@@ -473,14 +473,14 @@ export const SaveGithubProviderCompose = ({ composeId }: Props) => {
<button
type="button"
aria-label="Remove watch path"
className="ml-1 cursor-pointer hover:text-destructive"
className="inline-flex items-center focus-visible:ring-2"
onClick={() => {
const newPaths = [...(field.value || [])];
newPaths.splice(index, 1);
form.setValue("watchPaths", newPaths);
}}
>
<X className="size-3" />
<X className="ml-1 size-3 cursor-pointer" />
</button>
</Badge>
))}
@@ -463,14 +463,14 @@ export const SaveGitlabProviderCompose = ({ composeId }: Props) => {
<button
type="button"
aria-label="Remove watch path"
className="ml-1 cursor-pointer hover:text-destructive"
className="inline-flex items-center focus-visible:ring-2"
onClick={() => {
const newPaths = [...(field.value || [])];
newPaths.splice(index, 1);
form.setValue("watchPaths", newPaths);
}}
>
<X className="size-3" />
<X className="ml-1 size-3 cursor-pointer" />
</button>
</Badge>
))}