-
Notifications
You must be signed in to change notification settings - Fork 23
mobile-style: improve mobile display #597
base: master
Are you sure you want to change the base?
Conversation
… bigger to compensate
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. |
Separate the narrow-viewport changes, which should apply to all mobile devices, from the make-things-big changes, which should only apply to phones. Triggers this difference off of the device-width: phones have a low-device width while tablets have a higher (though still relatively low) one
This was also affecting tablets. Fixed with b9a1bde, which gates the font size increases on a Screenshots from Chrome's emulated ipad: before: http://www.jefftk.com/lw-testing/discussion-ipad-old.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 |
@jack-trikeapps Thanks for looking it over!
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 bellroy/eaforum#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