2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Fix responsive utilities for table elements

This change prevents situations where specificity causes some rules to
be overridden by the ones intended for mobile.
* Added mixin `responsive-invisibility()`
* Swapped out `display: none !important;` for new mixin
This commit is contained in:
Julian Thilo
2013-07-01 21:13:57 +02:00
parent 534eac5242
commit fea69df80c
3 changed files with 117 additions and 12 deletions
+7
View File
@@ -411,6 +411,13 @@
td& { display: table-cell !important; }
}
.responsive-invisibility() {
display: none !important;
tr& { display: none !important; }
th&,
td& { display: none !important; }
}
// Grid System