diff options
| author | Mark Otto <[email protected]> | 2013-09-06 09:50:38 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-09-06 09:50:38 -0700 |
| commit | 8bea86e2efed39af9d7469b20593d639532b84d0 (patch) | |
| tree | 9d78f0bba5534ed62745a36975a34d399ab0edaf /less/input-groups.less | |
| parent | e5038a339c69c78e8a4b8de702a6b871c3653c04 (diff) | |
| download | bootstrap-8bea86e2efed39af9d7469b20593d639532b84d0.tar.xz bootstrap-8bea86e2efed39af9d7469b20593d639532b84d0.zip | |
fixes #10024: Use negative margin to fix the border between button and input in input groups
Diffstat (limited to 'less/input-groups.less')
| -rw-r--r-- | less/input-groups.less | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/less/input-groups.less b/less/input-groups.less index 3c05a458f..8516a79e9 100644 --- a/less/input-groups.less +++ b/less/input-groups.less @@ -113,6 +113,14 @@ .input-group-btn { position: relative; white-space: nowrap; + + // Negative margin to only have a 1px border between the two + &:first-child > .btn { + margin-right: -1px; + } + &:last-child > .btn { + margin-left: -1px; + } } .input-group-btn > .btn { position: relative; |
