Crossword content type, "ACROSS/DOWN" will disappear if clue is long.
Submitted by Michaelabf on Mon, 06/20/2022 - 15:55
A minor issue, mainly affecting narrow screen display:
If a clue is quite long and needs to continue on more than one line, it is displayed above the puzzle "cut off" at the end.
That's not a problem.
But when that happens, often the case on narrow mobile screen, then the word ACROSS or DOWN also disappears, leaving just the number.
Just wondering if this is expected/intentional?
It's not a huge issue.
I have attached a puzzle screenshot with a long clue, to illustrate this effect.
Mon, 06/20/2022 - 18:16
Hi!Cutting off was done
Cutting off was done intentionally to prevent the Crossword from jumping up and down if the number of lines changes (https://github.com/otacke/h5p-crossword/blob/master/src/styles/h5p-crossword.scss#L487-L492). The missing direction indicator feels like a bug though.
Mon, 06/20/2022 - 22:29
Fixed in https://github.com
Fixed in https://github.com/otacke/h5p-crossword/commit/f06ebd4cd31d2123ca12ee89ae8861dcbb34aaf0
Tue, 06/21/2022 - 00:26
So again, I just need to wait until the content type (crossword) has been updated in the H5P hub?
Tue, 06/21/2022 - 11:03
Hey!Unless you don't want to
Unless you don't want to patch libraries on your system (or create a so called fork): yes, you'd wait for the H5P core team to release an update of the content type.