File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
src/views/domain/ngx_conf/directive Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,15 @@ function onSave(idx: number) {
4343 <h2 >{{ $gettext('Directives') }}</h2 >
4444
4545 <a-form-item v-for =" (directive,index) in ngx_directives" @click =" current_idx=index" >
46- <code-editor v-if =" directive.directive === If" v-model:content =" directive.params"
47- defaultHeight =" 100px" />
48- <div class =" input-wrapper" v-else >
49- <a-input :addon-before =" directive.directive" v-model:value =" directive.params" @click =" current_idx=k"
50- >
51- </a-input >
46+
47+ <div class =" input-wrapper" >
48+ <code-editor v-if =" directive.directive === If" v-model:content =" directive.params"
49+ defaultHeight =" 100px" style =" width : 100% ;" />
50+
51+ <a-input v-else
52+ :addon-before =" directive.directive"
53+ v-model:value =" directive.params" @click =" current_idx=index" />
54+
5255 <a-popconfirm @confirm =" remove(index)"
5356 :title =" $gettext('Are you sure you want to remove this directive?')"
5457 :ok-text =" $gettext('Yes')"
@@ -99,5 +102,6 @@ function onSave(idx: number) {
99102.input-wrapper {
100103 display : flex ;
101104 gap : 10px ;
105+ align-items : center ;
102106}
103107 </style >
Original file line number Diff line number Diff line change 1- {"version" :" 1.5.0" ,"build_id" :14 ,"total_build" :84 }
1+ {"version" :" 1.5.0" ,"build_id" :15 ,"total_build" :85 }
You can’t perform that action at this time.
0 commit comments