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

fix mobile preview & edit links #137

Merged
merged 1 commit into from
Aug 18, 2021
Merged

fix mobile preview & edit links #137

merged 1 commit into from
Aug 18, 2021

Conversation

gregwebs
Copy link
Contributor

on mobile preview & edit don't work
They just diplay the HTML view and they have large paddings.

mobile detection for Google Docs is not based on screen size.
It must be based on either device or touchscreen detection.

Here we do touch screen detection.
On a touch screen, use the Google Docs link.
If the user has the Google app installed this should open in the app.

addresses #136. If this works properly we can address the rest of the items in that issue with this.

on mobile preview & edit don't work
They just diplay the HTML view and they have large paddings.

mobile detection for Google Docs is not based on screen size.
It must be based on either device or touchscreen detection.

Here we do touch screen detection.
On a touch screen, use the Google Docs link.
If the user has the Google app installed this should open in the app.
@gregwebs gregwebs force-pushed the mobile-preview-edit branch from 42f45aa to 88e0da7 Compare August 18, 2021 16:19
@gregwebs gregwebs merged commit c5a65c1 into main Aug 18, 2021
@gregwebs gregwebs deleted the mobile-preview-edit branch August 18, 2021 16:19
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.

1 participant