From 9dc796155cdc23040bb018f145634ad8deea5326 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 6 Mar 2014 21:25:34 -0800 Subject: Fixes #12722: Fixes up responsive tables in print Safari renders this fine for one reason or another, but Chrome still renders the media query styles to make tables responsive. This change scopes them to screen devices only, so printing looks boss everywhere. --- less/tables.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/tables.less b/less/tables.less index d5c0afd01..555d7924c 100644 --- a/less/tables.less +++ b/less/tables.less @@ -169,7 +169,7 @@ table { // will display normally. .table-responsive { - @media (max-width: @screen-xs-max) { + @media screen and (max-width: @screen-xs-max) { width: 100%; margin-bottom: (@line-height-computed * 0.75); overflow-y: hidden; -- cgit v1.2.3