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:
parent
07100258cd
commit
03712966e4
12 changed files with 128 additions and 82 deletions
|
@ -5,4 +5,5 @@
|
|||
readonly="$ctrl.readOnly"
|
||||
on-change="($ctrl.handleChange)"
|
||||
value="$ctrl.value"
|
||||
height="$ctrl.height || undefined"
|
||||
></react-code-editor>
|
||||
|
|
|
@ -10,5 +10,6 @@ angular.module('portainer.app').component('codeEditor', {
|
|||
readOnly: '<',
|
||||
onChange: '<',
|
||||
value: '<',
|
||||
height: '@',
|
||||
},
|
||||
});
|
||||
|
|
|
@ -12,6 +12,7 @@ export const webEditorForm = {
|
|||
readOnly: '<',
|
||||
onChange: '<',
|
||||
hideTitle: '<',
|
||||
height: '@',
|
||||
},
|
||||
|
||||
transclude: {
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
yml="$ctrl.yml"
|
||||
value="$ctrl.value"
|
||||
on-change="($ctrl.onChange)"
|
||||
height="{{ $ctrl.height }}"
|
||||
></code-editor>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue