1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

feat(ui): ui improvements create template EE-3628 (#7352)

This commit is contained in:
Prabhat Khera 2022-08-02 14:10:39 +12:00 committed by GitHub
parent 75c1b485ab
commit e1c7079c81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 75 additions and 70 deletions

View file

@ -94,7 +94,7 @@ export function InputList<T = DefaultType>({
</div>
{textTip && (
<div className="col-sm-12 my-5">
<div className="col-sm-12 mt-5">
<TextTip color="blue">{textTip}</TextTip>
</div>
)}
@ -131,6 +131,7 @@ export function InputList<T = DefaultType>({
size="small"
disabled={disabled || index === 0}
onClick={() => handleMoveUp(index)}
className="vertical-center btn-only-icon"
>
<Icon icon="arrow-up" feather />
</Button>
@ -139,6 +140,7 @@ export function InputList<T = DefaultType>({
type="button"
disabled={disabled || index === value.length - 1}
onClick={() => handleMoveDown(index)}
className="vertical-center btn-only-icon"
>
<Icon icon="arrow-down" feather />
</Button>
@ -146,12 +148,12 @@ export function InputList<T = DefaultType>({
)}
{!readOnly && (
<Button
color="danger"
size="medium"
color="dangerlight"
size="small"
onClick={() => handleRemoveItem(key, item)}
disabled={disabled}
className="vertical-center btn-only-icon"
>
<Icon icon="trash-2" feather />
<Icon icon="trash-2" feather size="md" />
</Button>
)}
</div>