summaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-09-05 17:13:59 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-09-05 18:35:37 +0200
commit45cde96d83f414792b9797e6a746db243dc3f770 (patch)
tree7b6fe92f232eb70ef3893e3fb487eb45f83102d8 /apps/comments
parent99989b37ffd28f9f010f780f4456ca8709cbea5b (diff)
downloadnextcloud-server-45cde96d83f414792b9797e6a746db243dc3f770.tar.gz
nextcloud-server-45cde96d83f414792b9797e6a746db243dc3f770.zip
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 <danxuliu@gmail.com>
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/css/comments.scss6
1 files changed, 5 insertions, 1 deletions
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);