From b204300f206e3a73a3291678a5fdc04ccfedc85c Mon Sep 17 00:00:00 2001 From: Simon Lepel Date: Thu, 10 Dec 2020 13:50:08 +0100 Subject: [PATCH] fix em font-style --- package.json | 2 +- scss/reset-and-normalize.scss | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b58ecc0..44bb87f 100644 --- a/package.json +++ b/package.json @@ -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 (http://simbo.de/)", "license": "MIT", diff --git a/scss/reset-and-normalize.scss b/scss/reset-and-normalize.scss index 792ade5..788f6fe 100644 --- a/scss/reset-and-normalize.scss +++ b/scss/reset-and-normalize.scss @@ -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.