mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge pull request #19106 from twbs/fix-19101
Add $enable-print-styles variable for _print.scss
This commit is contained in:
commit
ea48391e77
2 changed files with 102 additions and 99 deletions
|
@ -8,6 +8,7 @@
|
|||
// http://www.phpied.com/delay-loading-your-print-css/
|
||||
// ==========================================================================
|
||||
|
||||
@if $enable-print-styles {
|
||||
@media print {
|
||||
*,
|
||||
*::before,
|
||||
|
@ -112,3 +113,4 @@
|
|||
|
||||
// Bootstrap specific changes end
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,6 +50,7 @@ $enable-gradients: false !default;
|
|||
$enable-transitions: false !default;
|
||||
$enable-hover-media-query: false !default;
|
||||
$enable-grid-classes: true !default;
|
||||
$enable-print-styles: true !default;
|
||||
|
||||
|
||||
// Spacing
|
||||
|
|
Loading…
Add table
Reference in a new issue