2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03: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
+3
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,
+1 -1
View File
File diff suppressed because one or more lines are too long
+9 -4
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();
}
}