Browse Source

fix(gui-v2): add scrollbar for listing

pull/3129/head
Wing-Kam Wong 2 years ago
parent
commit
bab571e276
  1. 6
      packages/nc-gui-v2/components/webhook/List.vue

6
packages/nc-gui-v2/components/webhook/List.vue

@ -58,7 +58,11 @@ onMounted(() => {
</div>
<a-divider />
<div v-if="hooks.length">
<a-list item-layout="horizontal" :data-source="hooks" class="cursor-pointer pl-5 pr-5 pt-2 pb-2">
<a-list
item-layout="horizontal"
:data-source="hooks"
class="cursor-pointer max-h-[75vh] overflow-y-auto scrollbar-thin-primary"
>
<template #renderItem="{ item, index }">
<a-list-item class="pa-2" @click="emit('edit', item)">
<a-list-item-meta>

Loading…
Cancel
Save