1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-07 14:55:27 +02:00

fix(ui/code-editor): apply theme colors [EE-5104] (#8558)

* fix(ui/code-editor): apply theme colors [EE-5104]

fix [EE-5104]

* fix(kube/yaml): expand yaml inspector

* fix(ui/code-editor): have default height

* fix(ui/code-editor): boolean color

* fix(ui/code-editor): style search bar
This commit is contained in:
Chaim Lev-Ari 2023-03-06 09:13:42 +02:00 committed by GitHub
parent 07100258cd
commit 03712966e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 128 additions and 82 deletions

View file

@ -5,4 +5,5 @@
readonly="$ctrl.readOnly"
on-change="($ctrl.handleChange)"
value="$ctrl.value"
height="$ctrl.height || undefined"
></react-code-editor>

View file

@ -10,5 +10,6 @@ angular.module('portainer.app').component('codeEditor', {
readOnly: '<',
onChange: '<',
value: '<',
height: '@',
},
});

View file

@ -12,6 +12,7 @@ export const webEditorForm = {
readOnly: '<',
onChange: '<',
hideTitle: '<',
height: '@',
},
transclude: {

View file

@ -47,6 +47,7 @@
yml="$ctrl.yml"
value="$ctrl.value"
on-change="($ctrl.onChange)"
height="{{ $ctrl.height }}"
></code-editor>
</div>
</div>