2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Remove support for multiple buttons in input groups because fuck that shit.

This commit is contained in:
Mark Otto
2012-12-19 19:33:14 -08:00
parent 4c82dd3645
commit 19a94d08d6
4 changed files with 10 additions and 76 deletions
+4 -4
View File
@@ -510,22 +510,22 @@ select:focus:invalid {
}
// Prepend
.input-group-btn {
&:first-child > .btn:last-child,
&:first-child > .btn,
&.btn-group:first-child > .btn {
border-right: 0;
}
&:first-child > .btn:first-child,
&:first-child > .btn,
&.btn-group:first-child > .btn {
border-radius: @border-radius-base 0 0 @border-radius-base;
}
}
// Append
.input-group-btn {
&:last-child > .btn:first-child,
&:last-child > .btn,
&.btn-group:last-child > .btn:first-child {
border-left: 0;
}
&:last-child > .btn:last-child,
&:last-child > .btn,
&.btn-group:last-child > .btn {
border-radius: 0 @border-radius-base @border-radius-base 0;
}