diff --git a/resources/assets/javascripts/lib/jsupdater.js b/resources/assets/javascripts/lib/jsupdater.js index cb75540eaa45e611ed5ee256700022b1197cf924..6946fb87779ef3f99fecc7d2c1853bf2de596c30 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(); }