From 9cb8b51d4238f15cc61860f7ac68f97128d87d55 Mon Sep 17 00:00:00 2001 From: Daniel Calviño Sánchez Date: Sat, 15 Sep 2018 19:53:06 +0200 Subject: Fix position of contacts menu shown on mentions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- apps/comments/css/comments.scss | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/comments') 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; +} -- cgit v1.2.3