Skip to content

Commit 3a9ff03

Browse files
committed
Fixes #1733
1 parent 7002e47 commit 3a9ff03

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sass/_minimized_chats.scss

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
text-overflow: ellipsis;
2828
display: block;
2929
height: 45px;
30+
width: 9em;
3031
}
3132

3233
a.restore-chat {
@@ -59,6 +60,7 @@
5960
margin-bottom: 0.2em;
6061
box-shadow: 1px 3px 5px 3px rgba(0, 0, 0, 0.4);
6162
width: 100%;
63+
max-width: 9em;
6264
}
6365
&.minimized {
6466
height: auto;

src/converse-minimize.js

-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ converse.plugins.add('converse-minimize', {
398398
'title': this.model.getDisplayName()
399399
});
400400
this.el.innerHTML = tpl_trimmed_chat(data);
401-
this.setElement(this.el.firstElementChild);
402401
return this.el;
403402
},
404403

0 commit comments

Comments
 (0)