mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-09 07:06:36 +02:00
fixes #8937: align the dropdown menus in input groups
This commit is contained in:
1
dist/css/bootstrap.css
vendored
1
dist/css/bootstrap.css
vendored
@@ -1894,6 +1894,7 @@ input[type="button"].btn-block {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.input-group {
|
.input-group {
|
||||||
|
position: relative;
|
||||||
display: table;
|
display: table;
|
||||||
border-collapse: separate;
|
border-collapse: separate;
|
||||||
}
|
}
|
||||||
|
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
@@ -5,6 +5,7 @@
|
|||||||
// Base styles
|
// Base styles
|
||||||
// -------------------------
|
// -------------------------
|
||||||
.input-group {
|
.input-group {
|
||||||
|
position: relative; // For dropdowns
|
||||||
display: table;
|
display: table;
|
||||||
border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
|
border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user