Skip to content

Commit e0c8376

Browse files
Table: Prevent reflow when printing
Fixes jquery-archivegh-7896 Closes jquery-archivegh-7932
1 parent 31cc90d commit e0c8376

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css/structure/jquery.mobile.table.reflow.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646

4747
/* Breakpoint to show as a standard table at 560px (35em x 16px) or wider */
48-
@media ( min-width: 35em ) {
48+
@media screen and ( min-width: 35em ), print {
4949

5050
/* Show the table header rows */
5151
.ui-table-reflow.ui-responsive td,
@@ -68,7 +68,7 @@
6868

6969
/* Hack to make IE9 and WP7.5 treat cells like block level elements, scoped to ui-responsive class */
7070
/* Applied in a max-width media query up to the table layout breakpoint so we don't need to negate this*/
71-
@media ( max-width: 35em ) {
71+
@media screen and ( max-width: 35em ) {
7272
.ui-table-reflow.ui-responsive td,
7373
.ui-table-reflow.ui-responsive th {
7474
width: 100%;

0 commit comments

Comments
 (0)