Skip to content

Commit 708f7b1

Browse files
committed
Updated docs, removed half-baked fetchlink unit tests.
1 parent f914ccf commit 708f7b1

File tree

6 files changed

+18
-105
lines changed

6 files changed

+18
-105
lines changed

css/structure/jquery.mobile.listview.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ol.ui-listview .ui-link-inherit:before, ol.ui-listview .ui-li-static:before, .ui
1010
ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid chance of duplication */
1111
.ui-listview-inset .ui-li { border-right-width: 1px; border-left-width: 1px; }
1212
.ui-li:last-child, .ui-li.ui-field-contain:last-child { border-bottom-width: 1px; }
13-
.ui-li>.ui-btn-inner { display: block; position: relative; padding: 0; }
13+
.ui-li>.ui-btn-inner { display: block; position: relative; padding-right: 0; }
1414
.ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li { padding: .7em 15px .7em 15px; display: block; }
1515
.ui-li-has-thumb .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-thumb { min-height: 60px; padding-left: 100px; }
1616
.ui-li-has-icon .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-icon { min-height: 20px; padding-left: 40px; }

docs/lists/lists-themes.html

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,23 @@ <h2>Theming icons</h2>
105105
<li data-icon="alert"><a href="#">Alerts</a></li>
106106
<li data-icon="false"><a href="#">No icon</a></li>
107107
</ul>
108-
108+
109+
<h2>Icon positioning</h2>
110+
111+
<p>The default icon position for each list item is to the right. To override this, set the <code>data-iconpos="left"</code> attribute on the desired list item.</p>
112+
113+
<pre>
114+
<code>
115+
&lt;li data-iconpos="left"&gt;&lt;a href="#"&gt;Left to Right&lt;/a&gt;&lt;/li&gt;
116+
&lt;li data-iconpos="right"&gt;&lt;a href="#"&gt;Right to Left&lt;/a&gt;&lt;/li&gt;
117+
&lt;li&gt;&lt;a href="#"&gt;Left to Right&lt;/a&gt;&lt;/li&gt;
118+
</code>
119+
</pre>
120+
<ul data-role="listview">
121+
<li data-iconpos="left"><a href="#">Left to Right</a></li>
122+
<li data-iconpos="right"><a href="#">Right to Left</a></li>
123+
<li><a href="#">Also Left to Right</a></li>
124+
</ul>
109125

110126
<h2>Theming split buttons</h2>
111127

tests/unit/fetchlink/ext-1.html

Lines changed: 0 additions & 17 deletions
This file was deleted.

tests/unit/fetchlink/ext-2.html

Lines changed: 0 additions & 17 deletions
This file was deleted.

tests/unit/fetchlink/fetchlink_core.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

tests/unit/fetchlink/index.html

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)