-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved mobile experience? #16
base: master
Are you sure you want to change the base?
Conversation
Tweaked further for Chrome on Android. It needs testing on iPad as well. Somewhat smaller fonts helps on phones. The print output changes should be kept even if we abandon the rest of the twiddles. |
…retrieve it; cleaner handling of print-only/screen-only
@@ -641,10 +667,62 @@ | |||
</head> | |||
<body> | |||
|
|||
<div class="screen-only"> | |||
<?php | |||
include("/var/www/include/navigation.inc"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These includes are likely to be abandoned in the future.
Tested on Windows (Edge, IE), IPad, iPhone SE, Android (Firefox, Chrome), Mac (Firefox, Chrome, Safari) and Linux (Firefox, Chrome), including printing on desktop browsers. Some layout is not ideal (slightly overlapping boxes) and the iPhone results font is too large, but nothing too outlandish. I'm inclined to merge. |
An attempt to improve the mobile experience by tweaking CSS settings and scrolling to output on calculate.
Developed using Chrome, Safari and Firefox reactive mode, with various device form factors.
Tested on iPhone SE Safari, Android MotoG7 Firefox.
This needs testing on more devices before pushing.