M2 icon indicating copy to clipboard operation
M2 copied to clipboard

font size of examples

Open DanGrayson opened this issue 5 years ago • 5 comments

Currently example output is hard to read in the html documentation, because it is small: Screen Shot 2020-04-10 at 2 29 15 PM This is governed in doc.css: Screen Shot 2020-04-10 at 2 29 24 PM Turning off font-size and line-height seems to help: Screen Shot 2020-04-10 at 2 31 30 PM Screen Shot 2020-04-10 at 2 31 50 PM

DanGrayson avatar Apr 10 '20 19:04 DanGrayson

I commented out those lines in doc.css for this file, and it looks a bit better on a computer, but not a phone: https://faculty.math.illinois.edu/Macaulay2/doc/Macaulay2-1.14/share/doc/Macaulay2/LocalRings/html/index.html.

What's going on? @mahrud ?

DanGrayson avatar Apr 11 '20 14:04 DanGrayson

Here's the way it looks on a phone: Screenshot_20200411-093337

DanGrayson avatar Apr 11 '20 14:04 DanGrayson

On the other hand, it looks like this in firefox on my phone: Screenshot_20200411-152958

DanGrayson avatar Apr 11 '20 20:04 DanGrayson

@DanGrayson, I don't think we should manually write or edit a css file from scratch. Take a look at this page on responsive web design. I used Bootstrap for my documentation generator, and if you're okay with changing things up a little bit I can make a PR for doing so.

mahrud avatar Apr 11 '20 22:04 mahrud

I think we have evidence here of a bug in Android chrome that's not in Android firefox and should figure it out. Can you try that page out on your phone?

DanGrayson avatar Apr 11 '20 22:04 DanGrayson