Skip to content

Commit f443acc

Browse files
Arup3201jcbrand
authored andcommitted
fix: hide converse-dragresize when view mode is overlayed
1 parent 43208c0 commit f443acc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plugins/controlbox/templates/controlbox.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ function whenNotConnected(el) {
3535
*/
3636
export default (el) => {
3737
const style = getChatStyle(el.model);
38+
const is_overlayed = api.settings.get('view_mode') === 'overlayed';
3839
return html`<div class="flyout box-flyout" style="${style || nothing}">
39-
<converse-dragresize></converse-dragresize>
40+
${is_overlayed ? html`<converse-dragresize></converse-dragresize>` : ''}
4041
${el.model.get('connected')
4142
? html`<converse-user-profile></converse-user-profile>
4243
<div class="controlbox-pane">

0 commit comments

Comments
 (0)