leanprover / leanprover.github.io

www
https://lean-lang.org/
15 stars 24 forks source link

cursor position is off on "Try Lean" page #29

Closed leodemoura closed 9 years ago

leodemoura commented 9 years ago

On Windows 7 (I will try Windows 8 later), the cursor position is completely off on the "Try Lean" page.

See the position of the cursor in the following snapshot:

image

Now suppose we type "12345". Here is the result

image

The problem happens when I use Chrome or Firefox. The weird thing is that the tutorial page is fine. The ACE editor seems to use a different font in the tutorial page. See the following snapshop:

image

The problem does not happen on Linux + Chrome.

soonhokong commented 9 years ago

@leodemoura, thanks for the report. I'm looking at this issue now.

soonhokong commented 9 years ago

I figure out the reason. There is a .css file only loaded with tutorial. I'll fix it soon.

leodemoura commented 9 years ago

Thanks!