mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-15 13:21:11 +00:00
style(ui): cleaned up class placement
Co-Authored-By: Fredy Acuna <57413945+fredhii@users.noreply.github.com>
This commit is contained in:
+2
-2
@@ -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>
|
||||
))}
|
||||
|
||||
+2
-2
@@ -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>
|
||||
))}
|
||||
|
||||
+2
-2
@@ -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>
|
||||
))}
|
||||
|
||||
+2
-2
@@ -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>
|
||||
))}
|
||||
|
||||
+2
-2
@@ -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>
|
||||
))}
|
||||
|
||||
+2
-2
@@ -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>
|
||||
))}
|
||||
|
||||
+2
-2
@@ -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>
|
||||
))}
|
||||
|
||||
+2
-2
@@ -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>
|
||||
))}
|
||||
|
||||
+2
-2
@@ -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>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user