aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/js/main.js2
-rw-r--r--view/tpl/messages_widget.tpl4
-rw-r--r--view/tpl/notifications_widget.tpl4
3 files changed, 5 insertions, 5 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 8b348b2c9..fdebb5faa 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -163,7 +163,7 @@ $(document).ready(function() {
});
// @hilmar <-|
- $(document).on('click focus', '.notification, .message', function(e) {
+ $(document).on('click', '.notification, .message', function(e) {
let b64mid = this.dataset.b64mid;
let notify_id = this.dataset.notify_id;
let path = $(this)[0].pathname.split('/')[1];
diff --git a/view/tpl/messages_widget.tpl b/view/tpl/messages_widget.tpl
index 3bedf518f..5770abffc 100644
--- a/view/tpl/messages_widget.tpl
+++ b/view/tpl/messages_widget.tpl
@@ -29,7 +29,7 @@
<img src="{9}" loading="lazy" class="rounded menu-img-2">
<div class="text-nowrap">
<div class="d-flex justify-content-between align-items-center lh-sm">
- <div class="text-truncate mr-1">
+ <div class="text-truncate pe-1">
{7}
<strong title="{4}">{4}</strong>
</div>
@@ -59,7 +59,7 @@
<img src="{{$e.author_img}}" loading="lazy" class="rounded menu-img-2">
<div class="text-nowrap">
<div class="d-flex justify-content-between align-items-center lh-sm">
- <div class="text-truncate mr-1">
+ <div class="text-truncate pe-1">
{{$e.icon}}
<strong title="{{$e.author_name}}">{{$e.author_name}}</strong>
</div>
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl
index d3347b4d8..bae1c1469 100644
--- a/view/tpl/notifications_widget.tpl
+++ b/view/tpl/notifications_widget.tpl
@@ -537,8 +537,8 @@
<a class="list-group-item list-group-item-action notification {6}" href="{0}" title="{13}" data-b64mid="{7}" data-notify_id="{8}" data-thread_top="{9}" data-contact_name="{2}" data-contact_addr="{3}" data-when="{5}">
<img data-src="{1}" loading="lazy" class="rounded menu-img-2">
<div class="text-nowrap">
- <div class="d-flex justify-content-between lh-sm">
- <div class="text-truncate mr-1">
+ <div class="d-flex justify-content-between align-items-center lh-sm">
+ <div class="text-truncate pe-1">
<strong title="{2} - {3}">{2}</strong>
</div>
<small class="notifications-autotime opacity-75" title="{5}"></small>