Skip to content

Commit 7e2db50

Browse files
committed
Set min size of summary panel to size of screen
1 parent 5b7f017 commit 7e2db50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/botPage/view/View.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ export default class View {
341341
$('.draggable-dialog').hide().dialog({
342342
resizable: false,
343343
autoOpen: false,
344-
width: 800,
345-
height: 650,
344+
width: Math.min(document.body.offsetWidth, 800),
345+
height: Math.min(document.body.offsetHeight, 650),
346346
closeText: '',
347347
classes: { 'ui-dialog-titlebar-close': 'icon-close' },
348348
});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy