1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Merge pull request #12025 from ZDroid/clean-visibility-mess

Fix #12015 and minify styles
This commit is contained in:
Mark Otto 2014-02-04 18:29:05 -08:00
commit 45e65eef3d
2 changed files with 7 additions and 11 deletions

View file

@ -629,10 +629,7 @@
}
.responsive-invisibility() {
&,
tr&,
th&,
td& { display: none !important; }
display: none !important;
}

View file

@ -23,30 +23,29 @@
// Visibility utilities
.visible-xs {
.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
.responsive-invisibility();
}
.visible-xs {
@media (max-width: @screen-xs-max) {
.responsive-visibility();
}
}
.visible-sm {
.responsive-invisibility();
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
.responsive-visibility();
}
}
.visible-md {
.responsive-invisibility();
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
.responsive-visibility();
}
}
.visible-lg {
.responsive-invisibility();
@media (min-width: @screen-lg-min) {
.responsive-visibility();
}