Skip to content

Commit 89444de

Browse files
committed
Grid: Set some grid tables to have explicit widths by a parent container
1 parent e4a5e6d commit 89444de

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

grid-spf/grid.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ <h2>local data source</h2>
164164
<button data-page="next">Next</button>
165165
<button data-page="last">Last</button>
166166
</p>
167+
<div style="width:48em;">
167168
<table id="developers-local">
168169
<thead>
169170
<tr>
@@ -175,7 +176,7 @@ <h2>local data source</h2>
175176
<tbody>
176177
</tbody>
177178
</table>
178-
179+
</div>
179180

180181
<h2>remote data source</h2>
181182
<p id="filterMovies">
@@ -202,7 +203,14 @@ <h2>remote data source</h2>
202203
<button data-page="next">Next</button>
203204
<button data-page="last">Last</button>
204205
</p>
206+
207+
<div style="width:80%">
205208
<table id="movies">
209+
<colgroup>
210+
<col width="60%">
211+
<col width="20%">
212+
<col width="20%">
213+
</colgroup>
206214
<thead>
207215
<tr>
208216
<th data-property="Name">Name</th>
@@ -213,6 +221,7 @@ <h2>remote data source</h2>
213221
<tbody>
214222
</tbody>
215223
</table>
224+
</div>
216225

217226
</body>
218227
</html>

0 commit comments

Comments
 (0)