Skip to content

Commit ec9fe98

Browse files
authored
fix(editor): Make share modal content scrollable (#9025)
1 parent 77b359a commit ec9fe98

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

packages/editor-ui/src/components/WorkflowShareModal.ee.vue

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<template>
22
<Modal
33
width="460px"
4+
max-height="75%"
45
:title="modalTitle"
56
:event-bus="modalBus"
67
:name="WORKFLOW_SHARE_MODAL_KEY"
@@ -30,7 +31,7 @@
3031
})
3132
}}
3233
</n8n-info-tip>
33-
<enterprise-edition :features="[EnterpriseEditionFeature.Sharing]">
34+
<enterprise-edition :features="[EnterpriseEditionFeature.Sharing]" :class="$style.content">
3435
<n8n-user-select
3536
v-if="workflowPermissions.updateSharing"
3637
class="mb-s"
@@ -51,6 +52,7 @@
5152
:current-user-id="currentUser.id"
5253
:delete-label="$locale.baseText('workflows.shareModal.list.delete')"
5354
:readonly="!workflowPermissions.updateSharing"
55+
:class="$style.usersList"
5456
>
5557
<template #actions="{ user }">
5658
<n8n-select
@@ -486,10 +488,28 @@ export default defineComponent({
486488
</script>
487489

488490
<style module lang="scss">
491+
.container {
492+
display: flex;
493+
flex-direction: column;
494+
height: 100%;
495+
}
496+
489497
.container > * {
490498
overflow-wrap: break-word;
491499
}
492500
501+
.content {
502+
display: flex;
503+
flex-direction: column;
504+
height: 100%;
505+
overflow-y: auto;
506+
}
507+
508+
.usersList {
509+
height: 100%;
510+
overflow-y: auto;
511+
}
512+
493513
.actionButtons {
494514
display: flex;
495515
justify-content: flex-end;

0 commit comments

Comments
 (0)