fix(container): fixed add value and remove value for env [EE-3839] (#7429)

* fix(style): UI task issues [EE-3839]
pull/7444/head
Zhang Hao 2022-08-05 15:45:21 +08:00 committed by GitHub
parent bfe1cace77
commit 539948b5a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<button <button
ng-if="$ctrl.showUpdateAction" ng-if="$ctrl.showUpdateAction"
type="button" type="button"
class="btn btn-sm btn-light h-fit" class="btn btn-sm btn-light h-fit vertical-center !ml-0"
authorization="DockerServiceUpdate" authorization="DockerServiceUpdate"
ng-disabled="$ctrl.selectedItemCount === 0" ng-disabled="$ctrl.selectedItemCount === 0"
ng-click="$ctrl.updateAction($ctrl.selectedItems)" ng-click="$ctrl.updateAction($ctrl.selectedItems)"

View File

@ -52,9 +52,9 @@
</div> </div>
<div> <div>
<button class="btn btn-sm btn-light" type="button" ng-if="!$ctrl.hasValue()" ng-click="$ctrl.onChangeValue('')"> <button class="btn btn-sm btn-light" type="button" ng-if="!$ctrl.hasValue()" ng-click="$ctrl.onChangeValue('')">
<pr-icon icon="'plus'" feather="true"></pr-icon> <pr-icon icon="'plus'" feather="true"></pr-icon> Add value
</button> </button>
<button class="btn btn-sm btn-light" type="button" ng-click="$ctrl.onRemove($ctrl.index)"> <button class="btn btn-light" type="button" ng-click="$ctrl.onRemove($ctrl.index)">
<pr-icon icon="'trash-2'" feather="true"></pr-icon> <pr-icon icon="'trash-2'" feather="true"></pr-icon>
</button> </button>
</div> </div>