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
|
@ -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
|
@ -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 New Issue