Skip to content

Commit

Permalink
(less) Fixes twbs#11786: Nest media queries within print utilities fo…
Browse files Browse the repository at this point in the history
…r mixin-friendliness
  • Loading branch information
mdo committed Dec 9, 2013
1 parent a18526d commit 78b45bf
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions responsive-utilities.less
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

0 comments on commit 78b45bf

Please sign in to comment.