fix(editor): Fix project settings layout (#9475)

This commit is contained in:
Csaba Tuncsik 2024-05-21 15:49:55 +02:00 committed by GitHub
parent 711c46f205
commit 96cf41f851
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 3 deletions

View file

@ -290,8 +290,9 @@ onBeforeMount(async () => {
:delete-label="$locale.baseText('workflows.shareModal.list.delete')"
>
<template #actions="{ user }">
<div class="flex gap-3">
<div :class="$style.buttons">
<N8nSelect
class="mr-2xs"
:model-value="user?.role || projectRoles[0].role"
size="small"
@update:model-value="onRoleAction(user, $event)"
@ -325,7 +326,7 @@ onBeforeMount(async () => {
</template>
</N8nUsersList>
</fieldset>
<fieldset class="flex justify-end items-center">
<fieldset :class="$style.buttons">
<div>
<small v-if="isDirty" class="mr-2xs">{{
locale.baseText('projects.settings.message.unsavedChanges')
@ -409,4 +410,10 @@ onBeforeMount(async () => {
.upgrade {
cursor: pointer;
}
.buttons {
display: flex;
justify-content: flex-end;
align-items: center;
}
</style>

View file

@ -164,7 +164,7 @@ watch(
width: 100%;
align-items: center;
padding: var(--spacing-2xs) 0;
gap: var(--spacing-xs);
gap: var(--spacing-2xs);
}
.selectedProjects {