Skip to content

Commit

Permalink
fix em font-style
Browse files Browse the repository at this point in the history
  • Loading branch information
simbo committed Dec 10, 2020
1 parent d361136 commit b204300
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "css-reset-and-normalize",
"version": "2.3.4",
"version": "2.3.5",
"description": "A combination of css reset and normalize (available in CSS, SCSS, Stylus and LESS)",
"author": "Simon Lepel <[email protected]> (http://simbo.de/)",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions scss/reset-and-normalize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,13 @@ sup {
top: -0.5em;
}

/**
* Prevent `em` being affected from global reset
*/
em {
font-style: italic;
}


/**
* Remove the border on images inside links in IE 10.
Expand Down

0 comments on commit b204300

Please sign in to comment.