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:
parent
75c1b485ab
commit
e1c7079c81
9 changed files with 75 additions and 70 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue