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