Skip to content

Commit d73e3e5

Browse files
author
Wolfram Twelker
committed
Demos: Fix typing errors in table-reflow demo
1 parent 766a03d commit d73e3e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

demos/table-reflow/index.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,15 @@
151151

152152
<h2>Applying a preset breakpoint</h2>
153153

154-
<p>Even though we strongly encourage you to write custom breakpoints yourself, the framework includes a single pre-configured breakpoint that targets the stacked style to smaller phones and swaps to a tabular prsentation on larger phones, tablet and desktop devices. To use this preset breakpoint, add the <code>ui-responsive</code> class to the table to convert from the stacked presentation to a tabular presentation at 560px (35em). If this breakpoint doesn't work for your content, we encourage you to write a custom breakpoint as descibed above.</p>
154+
<p>Even though we strongly encourage you to write custom breakpoints yourself, the framework includes a single pre-configured breakpoint that targets the stacked style to smaller phones and swaps to a tabular presentation on larger phones, tablet and desktop devices. To use this preset breakpoint, add the <code>ui-responsive</code> class to the table to convert from the stacked presentation to a tabular presentation at 560px (35em). If this breakpoint doesn't work for your content, we encourage you to write a custom breakpoint as described above.</p>
155155

156156
<pre><code>
157157
&lt;table data-role=&quot;table&quot; <strong>class=&quot;ui-responsive&quot;</strong>&gt;
158158
</code></pre>
159159

160160
<h2>Grouped column headers</h2>
161161

162-
<p>It's fairly common to need to logically group multiple columns together under a heading group for financial or scientific data. The framework can support the most simple version of this by allowing for two rows of table headers (<code>TH</code>), with the first row containing simple <code>colspan</code> attributes to group the columns below. In this configuration, the framework will add a class to the label of the first cell in each group to allow you to style these differently and provide additional visual hierarchy.</p>
162+
<p>It's fairly common to need to logically group multiple columns together under a heading group for financial or scientific data. The framework can support the most simple version of this by allowing for two rows of table headers (<code>th</code>), with the first row containing simple <code>colspan</code> attributes to group the columns below. In this configuration, the framework will add a class to the label of the first cell in each group to allow you to style these differently and provide additional visual hierarchy.</p>
163163

164164
<div data-demo-html="true">
165165
<table data-role="table" id="temp-table" data-mode="reflow" class="ui-responsive table-stroke">
@@ -173,13 +173,13 @@
173173
<th data-priority="persist">Month</th>
174174
<th data-priority="1">Minimum Temp</th>
175175
<th data-priority="1">Maximum Temp</th>
176-
<th data-priority="2">Precipitaion (mm)</th>
176+
<th data-priority="2">Precipitation (mm)</th>
177177
<th data-priority="2">Rainfall Days</th>
178178
</tr>
179179
</thead>
180180
<tbody>
181181
<tr>
182-
<th>Jaunuary</th>
182+
<th>January</th>
183183
<td>3</td>
184184
<td>8</td>
185185
<td>17.8</td>

0 commit comments

Comments
 (0)