Skip to content
Snippets Groups Projects
Commit 53862162 authored by Michaela Brückner's avatar Michaela Brückner :unicorn: Committed by Jan-Hendrik Willms
Browse files

Biest 748

parent 7cbc16ee
No related branches found
No related tags found
No related merge requests found
...@@ -174,6 +174,11 @@ function poll(forced) { ...@@ -174,6 +174,11 @@ function poll(forced) {
$(this).dialog('close'); $(this).dialog('close');
}; };
var dialogwidth = '50%';
if ($('html').is('.responsive-display')) {
dialogwidth = '85%';
}
$('<div>') $('<div>')
.html(message) .html(message)
.css({ .css({
...@@ -181,11 +186,13 @@ function poll(forced) { ...@@ -181,11 +186,13 @@ function poll(forced) {
padding: '2em 0' padding: '2em 0'
}) })
.dialog({ .dialog({
width: '50%', width: dialogwidth,
modal: true, modal: true,
buttons: buttons, buttons: buttons,
title: $gettext('Sie sind nicht mehr im System angemeldet.') title: $gettext('Sie sind nicht mehr im System angemeldet.')
}); });
$('.ui-dialog-title').css('white-space', 'unset');
} else { } else {
registerNextPoll(); registerNextPoll();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment