0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Fixes #11786: Nest media queries within print utilities for mixin-friendliness

This commit is contained in:
Mark Otto 2013-12-08 19:19:06 -08:00
parent 768f8b00f3
commit 6df909ad9b
3 changed files with 13 additions and 5 deletions

View File

@ -7300,6 +7300,9 @@ td.visible-print {
td.visible-print {
display: table-cell !important;
}
}
@media print {
.hidden-print,
tr.hidden-print,
th.hidden-print,

File diff suppressed because one or more lines are too long

View File

@ -194,16 +194,21 @@
}
}
// Print utilities
//
// Media queries are placed on the inside to be mixin-friendly.
.visible-print {
.responsive-invisibility();
}
@media print {
.visible-print {
@media print {
.responsive-visibility();
}
.hidden-print {
}
.hidden-print {
@media print {
.responsive-invisibility();
}
}