summaryrefslogtreecommitdiffstats
path: root/apps/comments/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-23 09:49:44 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-11-23 12:26:22 +0100
commit5591ea6e8bef0f87d1ebc915fd43a9acd7719890 (patch)
tree76e8cea9ad98f20f6c5de7d97fb4ff78ecaa5e30 /apps/comments/css
parent4eb9c0142d7016870431c565c8d9e207aebec0f5 (diff)
downloadnextcloud-server-5591ea6e8bef0f87d1ebc915fd43a9acd7719890.tar.gz
nextcloud-server-5591ea6e8bef0f87d1ebc915fd43a9acd7719890.zip
Fixed alignment of items in comments
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/comments/css')
-rw-r--r--apps/comments/css/comments.css21
1 files changed, 13 insertions, 8 deletions
diff --git a/apps/comments/css/comments.css b/apps/comments/css/comments.css
index 19c15786a51..c61ecbf2eef 100644
--- a/apps/comments/css/comments.css
+++ b/apps/comments/css/comments.css
@@ -69,6 +69,7 @@
width: 32px;
height: 32px;
line-height: 32px;
+ margin-right: 5px;
}
#commentsTabView .comment .message .avatar,
@@ -126,6 +127,13 @@
#commentsTabView .comment .authorRow {
position: relative;
cursor: pointer;
+ display: inline-flex;
+ align-items: center;
+ width: 100%;
+}
+
+#commentsTabView .comments li .message .atwho-inserted {
+ margin-left: 5px;
}
.atwho-view-ul * .avatar-name-wrapper {
@@ -136,23 +144,20 @@
#commentsTabView .comment .date {
opacity: .5;
}
-#commentsTabView .comment .author {
- margin-left: 5px;
-}
#commentsTabView .comment .date {
- position: absolute;
- right: 0;
- top: 5px;
+ margin-left: auto;
}
#commentsTabView .comments li .message {
padding-left: 40px;
+ display: inline-flex;
+ flex-wrap: wrap;
+ align-items: center;
}
#commentsTabView .comment .action {
opacity: 0;
- vertical-align: middle;
- display: inline-block;
+ padding: 5px;
}
#commentsTabView .comment:hover .action {