Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
6df909ad
Commit
6df909ad
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Fixes
#11786
: Nest media queries within print utilities for mixin-friendliness
parent
768f8b00
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dist/css/bootstrap.css
+3
-0
dist/css/bootstrap.css
dist/css/bootstrap.min.css
+1
-1
dist/css/bootstrap.min.css
less/responsive-utilities.less
+9
-4
less/responsive-utilities.less
with
13 additions
and
5 deletions
+13
-5
dist/css/bootstrap.css
+
3
-
0
View file @
6df909ad
...
@@ -7300,6 +7300,9 @@ td.visible-print {
...
@@ -7300,6 +7300,9 @@ td.visible-print {
td
.visible-print
{
td
.visible-print
{
display
:
table-cell
!important
;
display
:
table-cell
!important
;
}
}
}
@media
print
{
.hidden-print
,
.hidden-print
,
tr
.hidden-print
,
tr
.hidden-print
,
th
.hidden-print
,
th
.hidden-print
,
...
...
This diff is collapsed.
Click to expand it.
dist/css/bootstrap.min.css
+
1
-
1
View file @
6df909ad
This source diff could not be displayed because it is too large. You can
view the blob
instead.
This diff is collapsed.
Click to expand it.
less/responsive-utilities.less
+
9
-
4
View file @
6df909ad
...
@@ -194,16 +194,21 @@
...
@@ -194,16 +194,21 @@
}
}
}
}
// Print utilities
// Print utilities
//
// Media queries are placed on the inside to be mixin-friendly.
.visible-print {
.visible-print {
.responsive-invisibility();
.responsive-invisibility();
}
@media print {
@media print {
.visible-print {
.responsive-visibility();
.responsive-visibility();
}
}
.hidden-print {
}
.hidden-print {
@media print {
.responsive-invisibility();
.responsive-invisibility();
}
}
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment