Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Improved mobile experience? #16

wants to merge 8 commits into from

Conversation

pkienzle
Copy link
Contributor

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.

@pkienzle
Copy link
Contributor Author

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.

@@ -641,10 +667,62 @@
</head>
<body>

<div class="screen-only">
<?php
include("/var/www/include/navigation.inc");
Copy link
Contributor

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.

@pkienzle
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants