From 8bea86e2efed39af9d7469b20593d639532b84d0 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 6 Sep 2013 09:50:38 -0700 Subject: fixes #10024: Use negative margin to fix the border between button and input in input groups --- less/input-groups.less | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'less/input-groups.less') 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; -- cgit v1.2.3