mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
fixes #10024: Use negative margin to fix the border between button and input in input groups
This commit is contained in:
parent
e5038a339c
commit
8bea86e2ef
8
dist/css/bootstrap.css
vendored
8
dist/css/bootstrap.css
vendored
@ -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;
|
||||
}
|
||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user