aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-06-25 15:46:46 -0700
committerMark Otto <[email protected]>2012-06-25 15:47:07 -0700
commit8c2db7d7d62d22183601364e7dcaee4a12b083ea (patch)
tree7c14e82e51ff0d3ec03fcb6205e088046c18b650 /docs
parent78849cf52ef2eba9dd8df621985ac277b67dd23b (diff)
downloadbootstrap-8c2db7d7d62d22183601364e7dcaee4a12b083ea.tar.xz
bootstrap-8c2db7d7d62d22183601364e7dcaee4a12b083ea.zip
prevent button group buttons from wrapping in tight spaces by removing floats and replacing with font-size: 0; inline-block hack
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/css/bootstrap.css24
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index ffda9502f..922c46b20 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -3104,17 +3104,8 @@ input[type="submit"].btn.btn-mini {
.btn-group {
position: relative;
*margin-left: .3em;
- *zoom: 1;
-}
-
-.btn-group:before,
-.btn-group:after {
- display: table;
- content: "";
-}
-
-.btn-group:after {
- clear: both;
+ font-size: 0;
+ white-space: nowrap;
}
.btn-group:first-child {
@@ -3140,13 +3131,22 @@ input[type="submit"].btn.btn-mini {
.btn-group > .btn {
position: relative;
- float: left;
margin-left: -1px;
+ font-size: 13px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
+.btn-group > .btn-mini,
+.btn-group > .btn-small {
+ font-size: 11px;
+}
+
+.btn-group > .btn-large {
+ font-size: 15px;
+}
+
.btn-group > .btn:first-child {
margin-left: 0;
-webkit-border-bottom-left-radius: 4px;