mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-15 00:15:17 +00:00
style(ui): cleaned up class placement
Co-Authored-By: Fredy Acuna <[email protected]>
This commit is contained in:
co-authored by
Fredy Acuna
parent
a94f8b96d3
commit
92c5879438
+2
-2
@@ -441,14 +441,14 @@ export const SaveBitbucketProvider = ({ applicationId }: Props) => {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Remove watch path"
|
aria-label="Remove watch path"
|
||||||
className="ml-1 cursor-pointer hover:text-destructive"
|
className="inline-flex items-center focus-visible:ring-2"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const newPaths = [...(field.value || [])];
|
const newPaths = [...(field.value || [])];
|
||||||
newPaths.splice(index, 1);
|
newPaths.splice(index, 1);
|
||||||
form.setValue("watchPaths", newPaths);
|
form.setValue("watchPaths", newPaths);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<X className="size-3" />
|
<X className="ml-1 size-3 cursor-pointer" />
|
||||||
</button>
|
</button>
|
||||||
</Badge>
|
</Badge>
|
||||||
))}
|
))}
|
||||||
|
|||||||
@@ -245,14 +245,14 @@ export const SaveGitProvider = ({ applicationId }: Props) => {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Remove watch path"
|
aria-label="Remove watch path"
|
||||||
className="ml-1 cursor-pointer hover:text-destructive"
|
className="inline-flex items-center focus-visible:ring-2"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const newPaths = [...(field.value || [])];
|
const newPaths = [...(field.value || [])];
|
||||||
newPaths.splice(index, 1);
|
newPaths.splice(index, 1);
|
||||||
form.setValue("watchPaths", newPaths);
|
form.setValue("watchPaths", newPaths);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<X className="size-3" />
|
<X className="ml-1 size-3 cursor-pointer" />
|
||||||
</button>
|
</button>
|
||||||
</Badge>
|
</Badge>
|
||||||
))}
|
))}
|
||||||
|
|||||||
+2
-2
@@ -469,14 +469,14 @@ export const SaveGiteaProvider = ({ applicationId }: Props) => {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Remove watch path"
|
aria-label="Remove watch path"
|
||||||
className="cursor-pointer hover:text-destructive"
|
className="inline-flex items-center focus-visible:ring-2"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const newPaths = [...(field.value || [])];
|
const newPaths = [...(field.value || [])];
|
||||||
newPaths.splice(index, 1);
|
newPaths.splice(index, 1);
|
||||||
field.onChange(newPaths);
|
field.onChange(newPaths);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<X className="size-3" />
|
<X className="size-3 cursor-pointer hover:text-destructive" />
|
||||||
</button>
|
</button>
|
||||||
</Badge>
|
</Badge>
|
||||||
))}
|
))}
|
||||||
|
|||||||
+2
-2
@@ -481,14 +481,14 @@ export const SaveGithubProvider = ({ applicationId }: Props) => {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Remove watch path"
|
aria-label="Remove watch path"
|
||||||
className="cursor-pointer hover:text-destructive"
|
className="inline-flex items-center focus-visible:ring-2"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const newPaths = [...(field.value || [])];
|
const newPaths = [...(field.value || [])];
|
||||||
newPaths.splice(index, 1);
|
newPaths.splice(index, 1);
|
||||||
field.onChange(newPaths);
|
field.onChange(newPaths);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<X className="size-3" />
|
<X className="size-3 cursor-pointer hover:text-destructive" />
|
||||||
</button>
|
</button>
|
||||||
</Badge>
|
</Badge>
|
||||||
))}
|
))}
|
||||||
|
|||||||
+2
-2
@@ -462,14 +462,14 @@ export const SaveGitlabProvider = ({ applicationId }: Props) => {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Remove watch path"
|
aria-label="Remove watch path"
|
||||||
className="cursor-pointer hover:text-destructive"
|
className="inline-flex items-center focus-visible:ring-2"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const newPaths = [...(field.value || [])];
|
const newPaths = [...(field.value || [])];
|
||||||
newPaths.splice(index, 1);
|
newPaths.splice(index, 1);
|
||||||
field.onChange(newPaths);
|
field.onChange(newPaths);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<X className="size-3" />
|
<X className="size-3 cursor-pointer hover:text-destructive" />
|
||||||
</button>
|
</button>
|
||||||
</Badge>
|
</Badge>
|
||||||
))}
|
))}
|
||||||
|
|||||||
+2
-2
@@ -445,14 +445,14 @@ export const SaveBitbucketProviderCompose = ({ composeId }: Props) => {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Remove watch path"
|
aria-label="Remove watch path"
|
||||||
className="ml-1 cursor-pointer hover:text-destructive"
|
className="inline-flex items-center focus-visible:ring-2"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const newPaths = [...(field.value || [])];
|
const newPaths = [...(field.value || [])];
|
||||||
newPaths.splice(index, 1);
|
newPaths.splice(index, 1);
|
||||||
form.setValue("watchPaths", newPaths);
|
form.setValue("watchPaths", newPaths);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<X className="size-3" />
|
<X className="ml-1 size-3 cursor-pointer" />
|
||||||
</button>
|
</button>
|
||||||
</Badge>
|
</Badge>
|
||||||
))}
|
))}
|
||||||
|
|||||||
+2
-2
@@ -254,14 +254,14 @@ export const SaveGitProviderCompose = ({ composeId }: Props) => {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Remove watch path"
|
aria-label="Remove watch path"
|
||||||
className="ml-1 cursor-pointer hover:text-destructive"
|
className="inline-flex items-center focus-visible:ring-2"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const newPaths = [...(field.value || [])];
|
const newPaths = [...(field.value || [])];
|
||||||
newPaths.splice(index, 1);
|
newPaths.splice(index, 1);
|
||||||
form.setValue("watchPaths", newPaths);
|
form.setValue("watchPaths", newPaths);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<X className="size-3" />
|
<X className="ml-1 size-3 cursor-pointer" />
|
||||||
</button>
|
</button>
|
||||||
</Badge>
|
</Badge>
|
||||||
))}
|
))}
|
||||||
|
|||||||
+2
-2
@@ -434,14 +434,14 @@ export const SaveGiteaProviderCompose = ({ composeId }: Props) => {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Remove watch path"
|
aria-label="Remove watch path"
|
||||||
className="ml-1 cursor-pointer hover:text-destructive"
|
className="inline-flex items-center focus-visible:ring-2"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const newPaths = [...(field.value || [])];
|
const newPaths = [...(field.value || [])];
|
||||||
newPaths.splice(index, 1);
|
newPaths.splice(index, 1);
|
||||||
form.setValue("watchPaths", newPaths);
|
form.setValue("watchPaths", newPaths);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<X className="size-3" />
|
<X className="ml-1 size-3 cursor-pointer" />
|
||||||
</button>
|
</button>
|
||||||
</Badge>
|
</Badge>
|
||||||
))}
|
))}
|
||||||
|
|||||||
+2
-2
@@ -473,14 +473,14 @@ export const SaveGithubProviderCompose = ({ composeId }: Props) => {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Remove watch path"
|
aria-label="Remove watch path"
|
||||||
className="ml-1 cursor-pointer hover:text-destructive"
|
className="inline-flex items-center focus-visible:ring-2"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const newPaths = [...(field.value || [])];
|
const newPaths = [...(field.value || [])];
|
||||||
newPaths.splice(index, 1);
|
newPaths.splice(index, 1);
|
||||||
form.setValue("watchPaths", newPaths);
|
form.setValue("watchPaths", newPaths);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<X className="size-3" />
|
<X className="ml-1 size-3 cursor-pointer" />
|
||||||
</button>
|
</button>
|
||||||
</Badge>
|
</Badge>
|
||||||
))}
|
))}
|
||||||
|
|||||||
+2
-2
@@ -463,14 +463,14 @@ export const SaveGitlabProviderCompose = ({ composeId }: Props) => {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Remove watch path"
|
aria-label="Remove watch path"
|
||||||
className="ml-1 cursor-pointer hover:text-destructive"
|
className="inline-flex items-center focus-visible:ring-2"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const newPaths = [...(field.value || [])];
|
const newPaths = [...(field.value || [])];
|
||||||
newPaths.splice(index, 1);
|
newPaths.splice(index, 1);
|
||||||
form.setValue("watchPaths", newPaths);
|
form.setValue("watchPaths", newPaths);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<X className="size-3" />
|
<X className="ml-1 size-3 cursor-pointer" />
|
||||||
</button>
|
</button>
|
||||||
</Badge>
|
</Badge>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user