mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Make share modal content scrollable (#9025)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<Modal
|
||||
width="460px"
|
||||
max-height="75%"
|
||||
:title="modalTitle"
|
||||
:event-bus="modalBus"
|
||||
:name="WORKFLOW_SHARE_MODAL_KEY"
|
||||
@@ -30,7 +31,7 @@
|
||||
})
|
||||
}}
|
||||
</n8n-info-tip>
|
||||
<enterprise-edition :features="[EnterpriseEditionFeature.Sharing]">
|
||||
<enterprise-edition :features="[EnterpriseEditionFeature.Sharing]" :class="$style.content">
|
||||
<n8n-user-select
|
||||
v-if="workflowPermissions.updateSharing"
|
||||
class="mb-s"
|
||||
@@ -51,6 +52,7 @@
|
||||
:current-user-id="currentUser.id"
|
||||
:delete-label="$locale.baseText('workflows.shareModal.list.delete')"
|
||||
:readonly="!workflowPermissions.updateSharing"
|
||||
:class="$style.usersList"
|
||||
>
|
||||
<template #actions="{ user }">
|
||||
<n8n-select
|
||||
@@ -486,10 +488,28 @@ export default defineComponent({
|
||||
</script>
|
||||
|
||||
<style module lang="scss">
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.container > * {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.usersList {
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.actionButtons {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
||||
Reference in New Issue
Block a user