1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 23:04:32 +02:00

fixes #10024: Use negative margin to fix the border between button and input in input groups

This commit is contained in:
Mark Otto
2013-09-06 09:50:38 -07:00
parent e5038a339c
commit 8bea86e2ef
3 changed files with 17 additions and 1 deletions

View File

@@ -3791,6 +3791,14 @@ textarea.input-group-sm > .input-group-btn > .btn {
white-space: nowrap;
}
.input-group-btn:first-child > .btn {
margin-right: -1px;
}
.input-group-btn:last-child > .btn {
margin-left: -1px;
}
.input-group-btn > .btn {
position: relative;
}