You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
However, what isn't made clear is that you are supposed to specify CSS to make the labels fit. This is documented over on the API docs area, but it is entirely possible a person will just use the demo code and assume it will work.
The text was updated successfully, but these errors were encountered:
When you click the "view source" button of that demo, the popup contains a HTML and CSS section. That's how we do it for all demos where custom CSS is used. The same goes for when a demo uses custom JS.
In my opinion the bright pink CSS section header is hard to miss already, but I am looking into using tabs instead of collapsibles to have all sections next to each other at the top.
The title of that flipswitch demo already mentions "custom", but of course it's a small effort to add an intro paragraph that says that custom CSS is used.
I am going to close this ticket, because we already have ticket #8245 for things we need to do with the demos. I will add a bulletpoint for the intro paragraphs there.
Thanks for bringing it to our attention.
If you visit the flipswitch demo here, http://demos.jquerymobile.com/1.4.5/flipswitch, you'll see this code used for custom labels:
However, what isn't made clear is that you are supposed to specify CSS to make the labels fit. This is documented over on the API docs area, but it is entirely possible a person will just use the demo code and assume it will work.
The text was updated successfully, but these errors were encountered: