JC Brand 5 years ago
parent
commit
50b77e8608
3 changed files with 3 additions and 1 deletions
  1. 1 0
      CHANGES.md
  2. 2 0
      sass/_minimized_chats.scss
  3. 0 1
      src/converse-minimize.js

+ 1 - 0
CHANGES.md

@@ -4,6 +4,7 @@
 
 - #129: Add support for XEP-0156: Disovering Alternative XMPP Connection Methods. Only XML is supported for now.
 - #1691 Fix `collection.chatbox is undefined` errors
+- #1733 New message notifications for a minimized chat stack on top of each other
 - Prevent editing of sent file uploads.
 
 ### Breaking changes

+ 2 - 0
sass/_minimized_chats.scss

@@ -27,6 +27,7 @@
             text-overflow: ellipsis;
             display: block;
             height: 45px;
+            width: 9em;
         }
 
         a.restore-chat {
@@ -59,6 +60,7 @@
                 margin-bottom: 0.2em;
                 box-shadow: 1px 3px 5px 3px rgba(0, 0, 0, 0.4);
                 width: 100%;
+                max-width: 9em;
             }
             &.minimized {
                 height: auto;

+ 0 - 1
src/converse-minimize.js

@@ -397,7 +397,6 @@ converse.plugins.add('converse-minimize', {
                         'title': this.model.getDisplayName()
                     });
                 this.el.innerHTML = tpl_trimmed_chat(data);
-                this.setElement(this.el.firstElementChild);
                 return this.el;
             },