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 15 additions and 2 deletions

View file

@ -301,6 +301,9 @@ a:focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
figure {
margin: 0;
}
img {
vertical-align: middle;
}

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

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