From 72fd0fcc9bc44c727d8256e1a7e778c5b6263910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 9 Oct 2018 17:41:09 +0200 Subject: [PATCH] Fix 13 compatibility issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- css/comp-13.scss | 13 ++++++++++++- css/style.scss | 1 + js/controller/ActivityController.js | 4 ++-- templates/part.card.activity.html | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/css/comp-13.scss b/css/comp-13.scss index 770fd8727..6f78fd543 100644 --- a/css/comp-13.scss +++ b/css/comp-13.scss @@ -35,4 +35,15 @@ body:not(.snapjs-left) { display: none; } } -} \ No newline at end of file +} + +#commentsTabView .newCommentForm .message { + width: 100%; + margin-left: 0; + padding-right: 0; + display: block; +} + +#commentsTabView .comment { + margin-bottom: 0; +} diff --git a/css/style.scss b/css/style.scss index 2b8f9caac..89e7db85e 100644 --- a/css/style.scss +++ b/css/style.scss @@ -967,6 +967,7 @@ input.input-inline { } .activitysubject .app-popover-menu-utils { display: inline-block; + position: relative; a { font-weight: normal; } diff --git a/js/controller/ActivityController.js b/js/controller/ActivityController.js index 542be9195..cbbcf8323 100644 --- a/js/controller/ActivityController.js +++ b/js/controller/ActivityController.js @@ -111,10 +111,10 @@ class ActivityController { $target.on('inserted.atwho', function (je, $el) { $(je.target).find( 'span[data-username="' + $el.find('[data-username]').data('username') + '"]' - ).avatar(); + ).avatar(undefined, 16); }); $target.on('shown.atwho', function (je) { - $target.find('.avatar').avatar(); + $target.find('.avatar').avatar(undefined, 16); }); } diff --git a/templates/part.card.activity.html b/templates/part.card.activity.html index d4c1fafc2..dde8ad76f 100644 --- a/templates/part.card.activity.html +++ b/templates/part.card.activity.html @@ -25,7 +25,7 @@ {{ activity.subject_rich[1].user.name }}