Skip to content

Commit

Permalink
fixes #3694: provide override classes for .hide and .pull-right for g…
Browse files Browse the repository at this point in the history
…rid columns
  • Loading branch information
mdo committed Jul 29, 2012
1 parent d63ebe3 commit 22a9a83
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
10 changes: 10 additions & 0 deletions docs/assets/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
13 changes: 12 additions & 1 deletion less/grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -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.