1
0
Fork 0
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:
Mark Otto 2014-01-29 21:23:23 -08:00
parent 9ec5905c07
commit 545c957f17
6 changed files with 17 additions and 4 deletions

View file

@ -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;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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 {