-
Notifications
You must be signed in to change notification settings - Fork 89
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
Automatically scaling cs-applets for mobile #55
Comments
I guess that for many applications it should be possible to achieve such an effect using media queries. Assuming that the widget itself is square, use a media query to distinguish portrait from landscape devices. On landscape devices, use |
The width and height are set by Javascript in
From https://cindyjs.org/ref/createCindy.html
With pure Javascript:
does not scale the font-size and it looks like: Font-size should be scaled with the the canvas... Added as issue: CindyJS/CindyJS#719 |
When accessing the homepage on mobile devices, some examples in the gallery are to big for the screen. This makes scrolling impossible.
I am not sure wheather this can regulated through plain CSS, because we need a way to scale the canvases with keeping the aspect ratio. I guess it needs some work in Javascript...
The text was updated successfully, but these errors were encountered: