From: Daniel Calviño Sánchez Date: Wed, 5 Sep 2018 15:13:59 +0000 (+0200) Subject: Remove unneeded CSS rule for mentions X-Git-Tag: v14.0.1RC1~2^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e7d4d3a34b404962919df21fc5f140173e13f89e;p=nextcloud-server.git Remove unneeded CSS rule for mentions Most of the properties of the rule are not needed for mentions, so the rule is no longer applied to them; the only needed property was moved to the main rule for mentions. Signed-off-by: Daniel Calviño Sánchez --- diff --git a/apps/comments/css/comments.scss b/apps/comments/css/comments.scss index 0ce355cb3aa..01b739e5f5b 100644 --- a/apps/comments/css/comments.scss +++ b/apps/comments/css/comments.scss @@ -130,7 +130,7 @@ adding this brings them closer to the element**/ margin-top: 5px; } -#commentsTabView .comments li .message .avatar-name-wrapper, + .atwho-view-ul * .avatar-name-wrapper, #commentsTabView .comment .authorRow { position: relative; @@ -156,6 +156,10 @@ #commentsTabView .comments li .message .atwho-inserted, #commentsTabView .newCommentForm .atwho-inserted { .avatar-name-wrapper { + /* Make the wrapper the positioning context of its child contacts + * menu. */ + position: relative; + display: inline; vertical-align: top; background-color: var(--color-background-dark);