Commit ed0d5568 authored by Mark Otto's avatar Mark Otto

Merge pull request #11697 from twbs/btn-xs-10979

fix .btn-group-xs portion of #10979
parents f8e0f166 4a456500
...@@ -2622,8 +2622,7 @@ fieldset[disabled] .btn-link:focus { ...@@ -2622,8 +2622,7 @@ fieldset[disabled] .btn-link:focus {
border-radius: 6px; border-radius: 6px;
} }
.btn-sm, .btn-sm {
.btn-xs {
padding: 5px 10px; padding: 5px 10px;
font-size: 12px; font-size: 12px;
line-height: 1.5; line-height: 1.5;
...@@ -2632,6 +2631,9 @@ fieldset[disabled] .btn-link:focus { ...@@ -2632,6 +2631,9 @@ fieldset[disabled] .btn-link:focus {
.btn-xs { .btn-xs {
padding: 1px 5px; padding: 1px 5px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
} }
.btn-block { .btn-block {
...@@ -3754,7 +3756,6 @@ input[type="button"].btn-block { ...@@ -3754,7 +3756,6 @@ input[type="button"].btn-block {
} }
.btn-group-xs > .btn { .btn-group-xs > .btn {
padding: 5px 10px;
padding: 1px 5px; padding: 1px 5px;
font-size: 12px; font-size: 12px;
line-height: 1.5; line-height: 1.5;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -122,13 +122,12 @@ ...@@ -122,13 +122,12 @@
// line-height: ensure even-numbered height of button next to large input // line-height: ensure even-numbered height of button next to large input
.button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large); .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
} }
.btn-sm, .btn-sm {
.btn-xs {
// line-height: ensure proper height of button next to small input // line-height: ensure proper height of button next to small input
.button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small); .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
} }
.btn-xs { .btn-xs {
padding: 1px 5px; .button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);
} }
......
...@@ -84,6 +84,9 @@ ...@@ -84,6 +84,9 @@
@padding-small-vertical: 5px; @padding-small-vertical: 5px;
@padding-small-horizontal: 10px; @padding-small-horizontal: 10px;
@padding-xs-vertical: 1px;
@padding-xs-horizontal: 5px;
@line-height-large: 1.33; @line-height-large: 1.33;
@line-height-small: 1.5; @line-height-small: 1.5;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment