I just started working on a jquery mobile app and I am having issues with the header bar when using links.
<header data-role="header" data-position="fixed">
<a href="blah" data-icon="back">this is long text</a>
<h1>page title</h1>
</header>
The problem is the back link often overlaps the title if either or both of them is a little long. This obviously only happens when views on a mobile device with a smaller screen (vs iPad) or when I shrink my testing browser. But it looks good when testing on wider browsers. Is there any built in jquery way to make this work? Either by shrinking the text size or auto truncating text depending on width? I can surly truncate the text myself but then it looks silly when viewed in a wider browser (or landscape mode) and the links are truncated for no reason.
Any help would be great. Thanks!
UPDATE:
You can test this by going to http://jquerymobile.com/demos/1.0a4.1/#docs/toolbars/docs-headers.html
Use firebug/inspector to make the text in any of the toolbar links longer and watch them overlap their headings when the browser is at a smaller width.