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

style whatsapp share into a button #47

Merged
merged 5 commits into from
Mar 4, 2022
Merged

Conversation

nyakotey
Copy link
Collaborator

@nyakotey nyakotey commented Mar 4, 2022

@RDjarbeng, you have to take a look at the changes I made in the exportToWhatsapp() You might want to suggest edits before merging this PR.
The issue with it is that only chromium browsers support the very easy to use navigator.uadata. my workaround for other browsers is not working so well (the else if block). The else part is for desktop.
what to do?

@netlify
Copy link

netlify bot commented Mar 4, 2022

✔️ Deploy Preview for rcountdown ready!

🔨 Explore the source changes: 7df1ba0

🔍 Inspect the deploy log: https://app.netlify.com/sites/rcountdown/deploys/62221b7fcec7510007fe5ec1

😎 Browse the preview: https://deploy-preview-47--rcountdown.netlify.app

@RDjarbeng
Copy link
Owner

RDjarbeng commented Mar 4, 2022 via email

nyakotey and others added 2 commits March 4, 2022 13:30
fix header logo-name overflowing when small mobile device is in landscape
@RDjarbeng RDjarbeng merged commit 3f1e8f9 into whatsappShare Mar 4, 2022
@RDjarbeng RDjarbeng deleted the whatsappStyle branch March 4, 2022 14:01
@nyakotey
Copy link
Collaborator Author

nyakotey commented Mar 4, 2022

Well the icon is supposed to be hidden on larger screens. You can use media query min-width(500px) to hide it. I think this solves the desktop issue. I also wanted text that shows share to WhatsApp for a few seconds before minimizing unto the whatsapp icon, I think that will help first time users.

Icons are very intuitive, so having to explain yourself again is not needed. Anyways I'll use set the title attribute so it serves this purpose. Everyone happy :-)

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