Skip to content

Commit

Permalink
fix(editor): Fix UserStack vertical centering (no-changelog) (#7806)
Browse files Browse the repository at this point in the history
Dropdown items in `UserStack`component are not properly vertically
aligned. That's particularly noticeable when the items are hovered:

![image](https://github.com/n8n-io/n8n/assets/2598782/c994be3d-45e9-4b89-9973-deee5a8735ba)
  • Loading branch information
MiloradFilipovic committed Nov 24, 2023
1 parent eec2ec1 commit 0ec67da
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const menuHeight = computed(() => {
v-for="user in groupUsers"
:key="user.id"
:data-test-id="`user-stack-info-${user.id}`"
:class="$style.userInfoContainer"
>
<n8n-user-info
v-bind="user"
Expand Down Expand Up @@ -158,6 +159,12 @@ const menuHeight = computed(() => {
flex-direction: column;
gap: var(--spacing-2xs);
}
.userInfoContainer {
display: flex;
padding-top: var(--spacing-5xs);
padding-bottom: var(--spacing-5xs);
}
</style>

<style lang="scss">
Expand Down

0 comments on commit 0ec67da

Please sign in to comment.