mirror of https://github.com/twbs/bootstrap.git
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.
This commit is contained in:
parent
17e41098c8
commit
9dc796155c
|
|
@ -2879,7 +2879,7 @@ table th[class*="col-"] {
|
|||
background-color: #ebcccc;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
@media screen and (max-width: 767px) {
|
||||
.table-responsive {
|
||||
width: 100%;
|
||||
margin-bottom: 15px;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -2199,7 +2199,7 @@ table th[class*="col-"] {
|
|||
.table-hover > tbody > tr.danger:hover > th {
|
||||
background-color: #ebcccc;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
@media screen and (max-width: 767px) {
|
||||
.table-responsive {
|
||||
width: 100%;
|
||||
margin-bottom: 15px;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue