Skip to content

Commit 052e476

Browse files
committed
fix: change overflow property to auto in BaseEditor and refactor NgxConfigEditor template structure
1 parent f637e61 commit 052e476

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

app/src/components/BaseEditor/BaseEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const loading = computed(() =>
6565
6666
:deep(.card-body) {
6767
max-height: calc(100vh - 260px);
68-
overflow-y: scroll;
68+
overflow-y: auto;
6969
padding: 0;
7070
}
7171

app/src/components/NgxConfigEditor/NgxConfigEditor.vue

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,24 @@ const activeKey = ref(['3'])
4545
>
4646
<NgxUpstream />
4747
</ACollapsePanel>
48-
</ACollapse>
49-
<NgxServer :context>
50-
<template
51-
v-for="(_, key) in $slots"
52-
:key="key"
53-
#[key]="slotProps"
48+
<ACollapsePanel
49+
key="3"
50+
header="Server"
5451
>
55-
<slot
56-
:name="key"
57-
v-bind="slotProps"
58-
/>
59-
</template>
60-
</NgxServer>
52+
<NgxServer :context>
53+
<template
54+
v-for="(_, key) in $slots"
55+
:key="key"
56+
#[key]="slotProps"
57+
>
58+
<slot
59+
:name="key"
60+
v-bind="slotProps"
61+
/>
62+
</template>
63+
</NgxServer>
64+
</ACollapsePanel>
65+
</ACollapse>
6166
</div>
6267
</template>
6368

0 commit comments

Comments
 (0)