Skip to content

Commit

Permalink
Add vertical centering for svg
Browse files Browse the repository at this point in the history
Remove gap between the `svg` elements and the bottom of their containers
by vertically centering them.

Ref h5bp#1326.
Close h5bp#1453.
  • Loading branch information
benoitchantre authored and kcmckell committed Feb 25, 2014
1 parent a39d3ed commit eed4bc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### HEAD

* Add vertical centering for `svg` ([#1453](https://github.com/h5bp/html5-boilerplate/issues/1453)).
* Redesign 404 page ([#1443](https://github.com/h5bp/html5-boilerplate/pull/1443)).
* Remove IE 6/7 hacks from `main.css`.
* Update to Normalize.css 2.1.3.
Expand Down
1 change: 1 addition & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ hr {
audio,
canvas,
img,
svg,
video {
vertical-align: middle;
}
Expand Down

0 comments on commit eed4bc1

Please sign in to comment.