Skip to content

Commit

Permalink
Merge pull request #1675 from nextcloud/bugfix/noid/popovermenu-fix-l…
Browse files Browse the repository at this point in the history
…ongtext

Fix longtext appearance for avatar popover menu
  • Loading branch information
PVince81 authored Jan 20, 2021
2 parents 2208be0 + 05466e2 commit b44769b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Avatar/Avatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ export default {
return {
href: item.hyperlink,
icon: item.icon,
text: item.title,
longtext: item.title,
}
})
Expand Down
4 changes: 4 additions & 0 deletions src/components/PopoverMenu/PopoverMenuItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,10 @@ li {
line-height: 1.6em;
padding: 8px 0;
white-space: normal;
// in case there are no spaces like long email addresses
overflow: hidden;
text-overflow: ellipsis;
}
// TODO: do we really supports it?
Expand Down

0 comments on commit b44769b

Please sign in to comment.