mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-23 16:00:23 +00:00
Fixes #11786: Nest media queries within print utilities for mixin-friendliness
This commit is contained in:
parent
768f8b00f3
commit
6df909ad9b
3 changed files with 13 additions and 5 deletions
3
dist/css/bootstrap.css
vendored
3
dist/css/bootstrap.css
vendored
|
|
@ -7300,6 +7300,9 @@ td.visible-print {
|
|||
td.visible-print {
|
||||
display: table-cell !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
.hidden-print,
|
||||
tr.hidden-print,
|
||||
th.hidden-print,
|
||||
|
|
|
|||
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue