mirror of https://github.com/zulip/zulip.git
notifications: Improve HTML/CSS for desktop notifications.
This commit is contained in:
parent
0b78fe54e8
commit
2ef19901dd
|
@ -222,6 +222,7 @@ function in_browser_notify(message, title, content, raw_operators, opts) {
|
|||
gravatar_url: ui.small_avatar_url(message),
|
||||
title: title,
|
||||
content: content,
|
||||
message_id: message.id,
|
||||
}));
|
||||
|
||||
$('.top-right').notify({
|
||||
|
|
|
@ -2273,6 +2273,10 @@ button.topic_edit_cancel {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.notification {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#empty_narrow_private_message p,
|
||||
#empty_narrow_message p {
|
||||
text-align: center;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{! Content of in-browser notifications }}
|
||||
<div>
|
||||
<div class="notification" data-message-id="{{message_id}}">
|
||||
<div class="notifications-gravatar">
|
||||
<img src="{{gravatar_url}}" />
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue