From 5386216296ab62d0d8dc447bac9240caf7943e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michaela=20Br=C3=BCckner?= <brueckner@data-quest.de> Date: Thu, 3 Mar 2022 07:37:01 +0000 Subject: [PATCH] Biest 748 --- resources/assets/javascripts/lib/jsupdater.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/resources/assets/javascripts/lib/jsupdater.js b/resources/assets/javascripts/lib/jsupdater.js index cb75540eaa4..6946fb87779 100644 --- a/resources/assets/javascripts/lib/jsupdater.js +++ b/resources/assets/javascripts/lib/jsupdater.js @@ -174,6 +174,11 @@ function poll(forced) { $(this).dialog('close'); }; + var dialogwidth = '50%'; + if ($('html').is('.responsive-display')) { + dialogwidth = '85%'; + } + $('<div>') .html(message) .css({ @@ -181,11 +186,13 @@ function poll(forced) { padding: '2em 0' }) .dialog({ - width: '50%', + width: dialogwidth, modal: true, buttons: buttons, title: $gettext('Sie sind nicht mehr im System angemeldet.') }); + + $('.ui-dialog-title').css('white-space', 'unset'); } else { registerNextPoll(); } -- GitLab