Open jeffkaufman opened 7 years ago
It's interesting that we both did this at the same time, see PR #599.
The reasons I think my approach is better are:
Also, I think yours has a bug where if you scale a desktop window to less than 750px wide, it makes the text huge. I assume you could fix this by making the media queries check if the device is a phone or something.
Mine doesn't scale as far as yours, but that's only because I didn't remove the sidebar.
if you scale a desktop window to less than 750px wide, it makes the text huge.
This was also affecting tablets. Fixed with b9a1bde, which gates the font size increases on a max-device-width
of 550px.
Screenshots from Chrome's emulated ipad:
before: http://www.jefftk.com/lw-testing/discussion-ipad-old.png after: http://www.jefftk.com/lw-testing/discussion-ipad-new.png
Hi Jeff, Brendan,
I'm trying to decide which of your two PRs I should merge. I'm currently leaning towards this one, for the following reasons:
Brendan's comments about smooth scaling sound useful, is there a way to get the best of both worlds?
I'd also add:
@brendanlong "I'm not sure where the sidebar went in Jeff's version. How do we log in?"
It's at the bottom. For example, see (from above):
http://www.jefftk.com/lw-testing/discussion-old-bottom.png http://www.jefftk.com/lw-testing/discussion-new-bottom.png
@jack-trikeapps Thanks for looking it over!
Brendan's comments about smooth scaling sound useful, is there a way to get the best of both worlds?
With b9a1bde there's no longer a problem of huge text on desktops and tablets. Is there something else you like out of the more responsive version?
Ah cool. Moving the sidebar is a good idea.
@jack-trikeapps I'm worried that we're making perfect the enemy of good here. Less Wrong is currently unusable on phones, so I'd like to propose:
Hi @jeffkaufman
There were a couple of issues which would be good if you could fix before we deploy (see attached screenshots):
Improve mobile display by switching to a fixed 750px viewport and making things bigger to compensate. This change is adapted from https://github.com/tricycle/eaforum/pull/65, which took the same approach to the EA Forum.
You can see it live on http://www.jefftk.com/lw-testing/index
Here are some screenshots:
http://www.jefftk.com/lw-testing/comments-old.png http://www.jefftk.com/lw-testing/comments-new.png
http://www.jefftk.com/lw-testing/discussion-old-top.png http://www.jefftk.com/lw-testing/discussion-new-top.png
http://www.jefftk.com/lw-testing/discussion-old-bottom.png http://www.jefftk.com/lw-testing/discussion-new-bottom.png
http://www.jefftk.com/lw-testing/post-old-top.png http://www.jefftk.com/lw-testing/post-new-top.png
http://www.jefftk.com/lw-testing/promoted-old.png http://www.jefftk.com/lw-testing/promoted-new.png