aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_input-group.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/scss/_input-group.scss b/scss/_input-group.scss
index 8afff4c68..a1d16e384 100644
--- a/scss/_input-group.scss
+++ b/scss/_input-group.scss
@@ -171,6 +171,12 @@
z-index: 2;
// remove nagative margin ($input-btn-border-width) to solve overlapping issue with button.
margin-left: 0;
+
+ // When input is first, overlap the right side of it with the button(-group)
+ &:first-child {
+ margin-left: (-$input-btn-border-width);
+ }
+
// Because specificity
@include hover-focus-active {
z-index: 3;