Closed nhirschey closed 5 months ago
Hi @nhirschey, thanks for the report. Could you give me the exact link to this page? I'll take a look.
Thanks @nojaf https://fsprojects.github.io/FSharp.Data/library/CsvProvider.html
It seems to happen when the output is bigger than the window. Also see my teaching site here. Simple tuple output like ‘ val it: int * int = (1, 2)’ is formatted correctly but if you scroll down fsi output for ‘simpleReturnTuple’ is too big.
Another example in compiler docs release notes, the snippet font size on this page is all too big
https://fsharp.github.io/fsharp-compiler-docs/release-notes/About.html
Thanks, the problem here is that I need to see this in Safari to be able to address it. I should try and have a screen sharing session with someone that has a Mac. I can't reproduce this in the Chrome emulator, so I believe the problem is a browser styling default that we still need to override.
Hi @nhirschey, could you try https://www.nuget.org/packages/FSharp.Formatting/20.0.0-alpha-017 on your personal website? It might improve things.
Hi @nojaf, thanks for giving this a shot. I upgraded to alpha 17 but the problem is still there unfortunately.
Ex the “ val x: RecordExample …” output at https://nhirschey.github.io/Teaching/fundamentals.html#Records
Maybe my phone is weird, but I’m not seeing raw fsi output scaling correctly in docs. See screenshot from the csv provider below. The green “HLOC” output text font size is too big compared to the body text and fsharp code block.
I cannot reproduce this with small window sizes desktop edge browser, but I consistently get it with my iPhone.