diff options
| author | Mark Otto <[email protected]> | 2012-02-06 23:34:03 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-02-06 23:34:03 -0800 |
| commit | 575b82473f8d248ca3782fa86ce1c92eea03905c (patch) | |
| tree | 094f66085d4525b6e5a201ab4360d409b33780a6 /less | |
| parent | 85e401a6567e51016357acfe6b01cd5b5c330652 (diff) | |
| download | bootstrap-575b82473f8d248ca3782fa86ce1c92eea03905c.tar.xz bootstrap-575b82473f8d248ca3782fa86ce1c92eea03905c.zip | |
rearrange some of the docs on buttons to show examples of all possible renderings along with code snippets and note about usage; also fix the portrait tablet media query
Diffstat (limited to 'less')
| -rw-r--r-- | less/buttons.less | 4 | ||||
| -rw-r--r-- | less/responsive.less | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/less/buttons.less b/less/buttons.less index 61d0bc7bf..880d1f64a 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -9,11 +9,13 @@ .btn { display: inline-block; padding: 4px 10px 4px; + margin-bottom: 0; // For input.btn font-size: @baseFontSize; line-height: @baseLineHeight; color: @grayDark; text-align: center; text-shadow: 0 1px 1px rgba(255,255,255,.75); + vertical-align: middle; #gradient > .vertical-three-colors(@white, @white, 25%, darken(@white, 10%)); // Don't use .gradientbar() here since it does a three-color gradient border: 1px solid #ccc; border-bottom-color: #bbb; @@ -147,7 +149,7 @@ button.btn, input[type="submit"].btn { &::-moz-focus-inner { - padding: 0; + padding: 0; border: 0; } diff --git a/less/responsive.less b/less/responsive.less index 7d494a357..7ed58bb4e 100644 --- a/less/responsive.less +++ b/less/responsive.less @@ -123,7 +123,7 @@ // LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET // -------------------------------------------------- -@media (max-width: 768px) { +@media (max-width: 767px) { // GRID & CONTAINERS // ----------------- // Remove width from containers |
