diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-09-15 19:53:06 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-09-15 19:53:06 +0200 |
commit | 9cb8b51d4238f15cc61860f7ac68f97128d87d55 (patch) | |
tree | 372bc92ac2045790f99e3ab00ce03c51bc3be73f /apps/comments | |
parent | 527d237289f19ffe0616f4061b9067ce415865df (diff) | |
download | nextcloud-server-9cb8b51d4238f15cc61860f7ac68f97128d87d55.tar.gz nextcloud-server-9cb8b51d4238f15cc61860f7ac68f97128d87d55.zip |
Fix position of contacts menu shown on mentions
There are no default CSS rules for the contacts menu, as its position
depends on the element on which it is shown. Note, however, that if no
explicit rules are provided the contacts menu on mentions is affected by
the rules for the contacts menu on shares from the sharing tab.
The contacts menu is now positioned to show the tip of the arrow
horizontally aligned with the center of the avatar, and with the top of
the menu slightly below the bottom border of the mention.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/comments')
-rw-r--r-- | apps/comments/css/comments.scss | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/comments/css/comments.scss b/apps/comments/css/comments.scss index e3e5a210327..196846ab075 100644 --- a/apps/comments/css/comments.scss +++ b/apps/comments/css/comments.scss @@ -251,3 +251,8 @@ .app-files .action-comment { padding: 16px 14px; } + +#commentsTabView .comment .message .contactsmenu-popover { + left: -6px; + top: 24px; +} |