Closed noamraph closed 3 months ago
I experienced this once and could never reproduce it.
Can you check if it happens in all levels or only in a few?
The idea about the inventorymight be a good shout... I'll try to investigate
@joneugster indeed, it seems that it doesn't happen on every stage. It happens to me on the first level of addition world (zero_add), and not on the second (succ_add).
Another clue: it only happens after loading finishes.
I attached a zip file with the "complete HTML", which shows the issue. It might be easier to debug.
And another thing: I just reset the history and got to the first level of addition world, and I don't see this happening. Strange!
Ok, I now managed to reproduce: you need to enter the first line of the proof, induction n with d hd
.
And another clue: if I add "display: none" to the chat panel (on the left), the white space vanishes.
Ok, I found it! It's caused by an element <span class="katex-mathml">
, which is a part of displaying the stylized "n = 0". Adding display: none
to it fixes the issue. The actual "n = 0" is still displayed, thanks to the <span class="katex-html">
element next to it.
I created a PR which adds the "display: none" CSS to fix the issue: https://github.com/leanprover-community/lean4game/pull/204
Thanks for the quick PR!
If I scroll using the mouse wheel, the content continues to scroll up, so I only see the bottom of the interface:![image](https://github.com/leanprover-community/lean4game/assets/1553464/3aeb8240-03c7-4abd-84d7-aec96a8b50bb)
To reproduce: go to the first level in addition world, zero_add, and type the first line:
induction n with d hd
.Something curious: the more I make the window wider, the less blank space there is below the interface. For example, here is what I have with a wider window:![image](https://github.com/leanprover-community/lean4game/assets/1553464/f9830d9b-47f0-485c-a549-353a28f64275)
Perhaps it's related to the inventory box. See this:
Perhaps the white space below is related to the inventory box somehow getting below the interface. When the window is wider, it goes less below the interface, so there is less white space below.
Here's a zip file, the result of "save as HTML (complete)", which shows the problem: nng.zip