mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-12 08:38:10 +00:00
try and keep the size of the licensee logo reasonable in the pop up experiment window
This commit is contained in:
parent
2c3e571193
commit
8b15ac5fcc
@ -114,8 +114,7 @@ export class GUI
|
|||||||
|
|
||||||
// prepare jquery UI dialog box:
|
// prepare jquery UI dialog box:
|
||||||
let htmlCode =
|
let htmlCode =
|
||||||
'<div id="expDialog" title="' + title + '">' +
|
'<div id="expDialog" title="' + title + '">';
|
||||||
'<p class="validateTips">Fields marked with an asterisk (*) are required.</p>';
|
|
||||||
|
|
||||||
// uncomment for older version of the library:
|
// uncomment for older version of the library:
|
||||||
// htmlCode += '<p style="font-size: 0.8em; padding: 0.5em; margin-bottom: 0.5em; color: #FFAA00; border: 1px solid #FFAA00;">⚠ This experiment uses a deprecated version of the PsychoJS library. Consider updating to a newer version (e.g. by updating PsychoPy and re-exporting the experiment).</p>'+
|
// htmlCode += '<p style="font-size: 0.8em; padding: 0.5em; margin-bottom: 0.5em; color: #FFAA00; border: 1px solid #FFAA00;">⚠ This experiment uses a deprecated version of the PsychoJS library. Consider updating to a newer version (e.g. by updating PsychoPy and re-exporting the experiment).</p>'+
|
||||||
@ -196,6 +195,7 @@ export class GUI
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
htmlCode += '<p class="validateTips">Fields marked with an asterisk (*) are required.</p>';
|
||||||
|
|
||||||
// add a progress bar:
|
// add a progress bar:
|
||||||
htmlCode += '<hr><div id="progressMsg" class="progress">' + self._progressMsg + '</div>';
|
htmlCode += '<hr><div id="progressMsg" class="progress">' + self._progressMsg + '</div>';
|
||||||
|
@ -39,6 +39,7 @@ a:hover {
|
|||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto 1em;
|
margin: 0 auto 1em;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
max-height: 20vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Don't display close button in the top right corner of the box */
|
/* Don't display close button in the top right corner of the box */
|
||||||
|
Loading…
Reference in New Issue
Block a user