danbugs / smithereens

Smithereens is a digested open-source data visualizer tool for your Smash results.
https://smithe.net
GNU Affero General Public License v3.0
2 stars 1 forks source link

Make Share on Twitter Work on Mobile Too #100

Open danbugs opened 8 months ago

danbugs commented 8 months ago

Describe the solution you'd like Currently, the "Share on Twitter" feature is blocked on mobile because of the way we're currenty screenshotting the DOM w/ html2canvas. If enabled, mobile shares look wonky like: image

... so it was disabled. To fix this, we'd probably have to make some sort of changes to the CSS to generate smt that works regarless of screen size but is still optimal for a Twitter card.

Additional context Side note: W/ this, let's also investigate it possibly not working on medium screen sizes. I tried setting the screensize to the iPad Pro option, but I get an error from the image-upload-backend w/: image

Side note 2: The wonky example was actually captured from my computer w/ an emulation of the phone size. On the phone, for some reason, the image-upload-backend also fails and this probably warrants more investigation too.