aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Yeo <[email protected]>2017-05-02 11:03:14 -0700
committerMark Otto <[email protected]>2017-10-02 20:47:15 -0700
commitbf01f27554a22c26f67cc256e4aaf6515e1220a8 (patch)
tree208f7a04472fdf0534cff78716eb27ac69e4c578
parenta455a3e37414c00b0f100496d5e31f457db476b2 (diff)
downloadbootstrap-bf01f27554a22c26f67cc256e4aaf6515e1220a8.tar.xz
bootstrap-bf01f27554a22c26f67cc256e4aaf6515e1220a8.zip
First child of input group segmented buttons are off by -btn-border-width
-rw-r--r--scss/_input-group.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/scss/_input-group.scss b/scss/_input-group.scss
index 91180f170..8afff4c68 100644
--- a/scss/_input-group.scss
+++ b/scss/_input-group.scss
@@ -154,6 +154,10 @@
}
}
+ &:first-child > .btn + .btn {
+ margin-left: 0;
+ }
+
// Negative margin to only have a single, shared border between the two
&:not(:last-child) {
> .btn,