Permalink
Browse files

fixes #3694: provide override classes for .hide and .pull-right for g…

…rid columns
  • Loading branch information...
1 parent d63ebe3 commit 22a9a8365640cd8b09ee50580e7220e6d1d60e33 @mdo mdo committed Jul 29, 2012
Showing with 22 additions and 1 deletion.
  1. +10 −0 docs/assets/css/bootstrap.css
  2. +12 −1 less/grid.less
@@ -532,6 +532,16 @@ a:hover {
*margin-left: 8.404255319148938%;
}
+[class*="span"].hide,
+.row-fluid [class*="span"].hide {
+ display: none;
+}
+
+[class*="span"].pull-right,
+.row-fluid [class*="span"].pull-right {
+ float: right;
+}
+
.container {
margin-right: auto;
margin-left: auto;
View
@@ -7,4 +7,15 @@
#grid > .core(@gridColumnWidth, @gridGutterWidth);
// Fluid (940px)
-#grid > .fluid(@fluidGridColumnWidth, @fluidGridGutterWidth);
+#grid > .fluid(@fluidGridColumnWidth, @fluidGridGutterWidth);
+
+// Reset utility classes due to specificity
+[class*="span"].hide,
+.row-fluid [class*="span"].hide {
+ display: none;
+}
+
+[class*="span"].pull-right,
+.row-fluid [class*="span"].pull-right {
+ float: right;
+}

0 comments on commit 22a9a83

Please sign in to comment.