I'm using JQuery mobile's collapsible set, and my long header titles are being truncated (and made unreadable) when viewed on mobile devices.
For example the header defined here:
<div data-role="collapsible-set">
<div data-role="collapsible">
<h3>My header with lots of text that gets truncated when viewing on mobile device or small screen.</h3>
<fieldset data-role="controlgroup">
...
Ends up being truncated to: My header with lots of text...
Following the advice of other posts, I tried:
<style type="text/css">
.ui-header .ui-title .ui-btn-text .ui-collapsible-heading {
overflow: visible !important;
white-space: normal !important;
}
</style>
...to no avail.