Crossword content type, "ACROSS/DOWN" will disappear if clue is long.
Submitted by Michaelabf on Mon, 06/20/2022 - 15:55
Forums:
Hi!
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.
Thanks!
otacke
Mon, 06/20/2022 - 18:16
Permalink
Hi!Cutting off was done
Hi!
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.
Best,
Oliver
otacke
Mon, 06/20/2022 - 22:29
Permalink
Fixed in https://github.com
Fixed in https://github.com/otacke/h5p-crossword/commit/f06ebd4cd31d2123ca12ee89ae8861dcbb34aaf0
Michaelabf
Tue, 06/21/2022 - 00:26
Permalink
Thankyou!
Thankyou!
So again, I just need to wait until the content type (crossword) has been updated in the H5P hub?
otacke
Tue, 06/21/2022 - 11:03
Permalink
Hey!Unless you don't want to
Hey!
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.
Cheers,
Oliver