mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-13 13:57:29 -08:00
fix(editor): Fix project settings layout (#9475)
This commit is contained in:
parent
711c46f205
commit
96cf41f851
|
@ -290,8 +290,9 @@ onBeforeMount(async () => {
|
||||||
:delete-label="$locale.baseText('workflows.shareModal.list.delete')"
|
:delete-label="$locale.baseText('workflows.shareModal.list.delete')"
|
||||||
>
|
>
|
||||||
<template #actions="{ user }">
|
<template #actions="{ user }">
|
||||||
<div class="flex gap-3">
|
<div :class="$style.buttons">
|
||||||
<N8nSelect
|
<N8nSelect
|
||||||
|
class="mr-2xs"
|
||||||
:model-value="user?.role || projectRoles[0].role"
|
:model-value="user?.role || projectRoles[0].role"
|
||||||
size="small"
|
size="small"
|
||||||
@update:model-value="onRoleAction(user, $event)"
|
@update:model-value="onRoleAction(user, $event)"
|
||||||
|
@ -325,7 +326,7 @@ onBeforeMount(async () => {
|
||||||
</template>
|
</template>
|
||||||
</N8nUsersList>
|
</N8nUsersList>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset class="flex justify-end items-center">
|
<fieldset :class="$style.buttons">
|
||||||
<div>
|
<div>
|
||||||
<small v-if="isDirty" class="mr-2xs">{{
|
<small v-if="isDirty" class="mr-2xs">{{
|
||||||
locale.baseText('projects.settings.message.unsavedChanges')
|
locale.baseText('projects.settings.message.unsavedChanges')
|
||||||
|
@ -409,4 +410,10 @@ onBeforeMount(async () => {
|
||||||
.upgrade {
|
.upgrade {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.buttons {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -164,7 +164,7 @@ watch(
|
||||||
width: 100%;
|
width: 100%;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: var(--spacing-2xs) 0;
|
padding: var(--spacing-2xs) 0;
|
||||||
gap: var(--spacing-xs);
|
gap: var(--spacing-2xs);
|
||||||
}
|
}
|
||||||
|
|
||||||
.selectedProjects {
|
.selectedProjects {
|
||||||
|
|
Loading…
Reference in a new issue