Thanks Mo, I'll have a play with that code tomorrow. Ste
On Wednesday, 3 February 2021 at 19:57:16 UTC Nicolas Petton wrote: > Mohammad Rahmani <mohammad...@gmail.com> writes: > > >> If the font sizes are relative to vh, it surprises me that > >> on the bigger resolution screen (3000x2000) the text reaches near to the > >> bottom edge, > >> while on the smaller resolution screen (1366x768px) the text does not > grow > >> that large. > >> I attach the 2 screenshots. > >> > >> > > May be @Nico can explain this better, but font size scaled based on > height > > not width! > > There's still some tweaking to be done, adjusting font sizes and line > heights based on viewport dimensions can be a bit tricky, especially > because ideally you'd want to display the same amount of lines per slide > in "author" (normal) mode and "presentation" (full-screen) mode. > > The code in the main branch on GitHub should handle various viewport > dimensions a bit better, but I haven't tried on very large displays like > 3000x2000px. > > Cheers, > Nico > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f2f6665b-fd5d-4c71-81bf-3c44928ab808n%40googlegroups.com.