From 8b15ac5fcc616662c8f40e9594277125831cda82 Mon Sep 17 00:00:00 2001 From: Alain Pitiot Date: Mon, 21 Jun 2021 07:08:53 +0200 Subject: [PATCH] try and keep the size of the licensee logo reasonable in the pop up experiment window --- src/core/GUI.js | 4 ++-- src/index.css | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/GUI.js b/src/core/GUI.js index e8bdd38..4dfa094 100644 --- a/src/core/GUI.js +++ b/src/core/GUI.js @@ -114,8 +114,7 @@ export class GUI // prepare jquery UI dialog box: let htmlCode = - '
' + - '

Fields marked with an asterisk (*) are required.

'; + '
'; // uncomment for older version of the library: // htmlCode += '

⚠ 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).

'+ @@ -196,6 +195,7 @@ export class GUI } ); + htmlCode += '

Fields marked with an asterisk (*) are required.

'; // add a progress bar: htmlCode += '
' + self._progressMsg + '
'; diff --git a/src/index.css b/src/index.css index e9021fb..70f84cd 100644 --- a/src/index.css +++ b/src/index.css @@ -39,6 +39,7 @@ a:hover { display: block; margin: 0 auto 1em; max-width: 100%; + max-height: 20vh; } /* Don't display close button in the top right corner of the box */