]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove unneeded CSS rule for mentions
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Wed, 5 Sep 2018 15:13:59 +0000 (17:13 +0200)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Wed, 5 Sep 2018 18:59:02 +0000 (20:59 +0200)
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 <danxuliu@gmail.com>
apps/comments/css/comments.scss

index 0ce355cb3aa541a1535637384eb023a52059e17d..01b739e5f5bb2f9458f1cb99dd8901ff52a51806 100644 (file)
         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;
 #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);