Skip to content

Font size #3266

Closed Answered by Shaobin-Jiang
g-porta asked this question in Q&A
Apr 2, 2024 · 2 comments · 10 replies
Discussion options

You must be logged in to vote

Turns out I've been an idiot... I have been completely focusing on the jsPsych code, assuming that one must be using a generated starting template, and neglected that your html file is not, well, standard. Just forget all that I have said above, about setting max-width and width. You simply need this line after your <meta charset="UTF-8">:

<meta name="viewport" content="width=device-width, initial-scale=1.0">

Make this modification in your original code.

In case you are interested how I found out about this, I made a really simplified version of your code, removing all jsPsych from it and instead created a resembling hierarchy with the same styles applied to it. It was then that I realize…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
1 reply
@g-porta
Comment options

Comment options

You must be logged in to vote
9 replies
@g-porta
Comment options

@Shaobin-Jiang
Comment options

@g-porta
Comment options

@Shaobin-Jiang
Comment options

Answer selected by g-porta
@g-porta
Comment options

@Shaobin-Jiang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants