aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-07-29 16:51:24 -0700
committerMark Otto <[email protected]>2012-07-29 16:51:24 -0700
commit22a9a8365640cd8b09ee50580e7220e6d1d60e33 (patch)
tree7920019b25129e6cd6bebba31b143bb88fb9e1e6 /less
parentd63ebe3f3c885be05d93a1133d6feaa5be302536 (diff)
downloadbootstrap-22a9a8365640cd8b09ee50580e7220e6d1d60e33.tar.xz
bootstrap-22a9a8365640cd8b09ee50580e7220e6d1d60e33.zip
fixes #3694: provide override classes for .hide and .pull-right for grid columns
Diffstat (limited to 'less')
-rw-r--r--less/grid.less13
1 files changed, 12 insertions, 1 deletions
diff --git a/less/grid.less b/less/grid.less
index b63005c68..750d20351 100644
--- a/less/grid.less
+++ b/less/grid.less
@@ -7,4 +7,15 @@
#grid > .core(@gridColumnWidth, @gridGutterWidth);
// Fluid (940px)
-#grid > .fluid(@fluidGridColumnWidth, @fluidGridGutterWidth); \ No newline at end of file
+#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;
+}