mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08: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:
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">
|
||||||
|
|
Loading…
Reference in a new issue