mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fixes #12424: Account for Normalize change on figure element so that we don't potentially screw folks over
This commit is contained in:
parent
9ec5905c07
commit
545c957f17
6 changed files with 17 additions and 4 deletions
3
dist/css/bootstrap.css
vendored
3
dist/css/bootstrap.css
vendored
|
@ -301,6 +301,9 @@ a:focus {
|
||||||
outline: 5px auto -webkit-focus-ring-color;
|
outline: 5px auto -webkit-focus-ring-color;
|
||||||
outline-offset: -2px;
|
outline-offset: -2px;
|
||||||
}
|
}
|
||||||
|
figure {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
img {
|
img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
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
2
docs/dist/css/bootstrap.css.map
vendored
2
docs/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -61,6 +61,16 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Figures
|
||||||
|
//
|
||||||
|
// We reset this here because previously Normalize had no `figure` margins. This
|
||||||
|
// ensures we don't break anyone's use of the element.
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Images
|
// Images
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|
Loading…
Reference in a new issue