Skip to content

Commit b204300

Browse files
committed
fix em font-style
1 parent d361136 commit b204300

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "css-reset-and-normalize",
3-
"version": "2.3.4",
3+
"version": "2.3.5",
44
"description": "A combination of css reset and normalize (available in CSS, SCSS, Stylus and LESS)",
55
"author": "Simon Lepel <[email protected]> (http://simbo.de/)",
66
"license": "MIT",

scss/reset-and-normalize.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,13 @@ sup {
305305
top: -0.5em;
306306
}
307307

308+
/**
309+
* Prevent `em` being affected from global reset
310+
*/
311+
em {
312+
font-style: italic;
313+
}
314+
308315

309316
/**
310317
* Remove the border on images inside links in IE 10.

0 commit comments

Comments
 (0)