mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Fix UserStack vertical centering (no-changelog) (#7806)
Dropdown items in `UserStack`component are not properly vertically aligned. That's particularly noticeable when the items are hovered: 
This commit is contained in:
committed by
GitHub
parent
eec2ec1ff8
commit
0ec67dabf7
@@ -99,6 +99,7 @@ const menuHeight = computed(() => {
|
|||||||
v-for="user in groupUsers"
|
v-for="user in groupUsers"
|
||||||
:key="user.id"
|
:key="user.id"
|
||||||
:data-test-id="`user-stack-info-${user.id}`"
|
:data-test-id="`user-stack-info-${user.id}`"
|
||||||
|
:class="$style.userInfoContainer"
|
||||||
>
|
>
|
||||||
<n8n-user-info
|
<n8n-user-info
|
||||||
v-bind="user"
|
v-bind="user"
|
||||||
@@ -158,6 +159,12 @@ const menuHeight = computed(() => {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: var(--spacing-2xs);
|
gap: var(--spacing-2xs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.userInfoContainer {
|
||||||
|
display: flex;
|
||||||
|
padding-top: var(--spacing-5xs);
|
||||||
|
padding-bottom: var(--spacing-5xs);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|||||||
Reference in New Issue
Block a user