diff --git a/dist/style/mfm.css b/dist/style/mfm.css index 73a072e..15f239b 100644 --- a/dist/style/mfm.css +++ b/dist/style/mfm.css @@ -23,11 +23,8 @@ [data-mfm="root"] small, [data-mfm="root"] .small { font-size: smaller; } [data-mfm="root"] [data-mfm="inlineCode"], - [data-mfm="root"] code:not([data-mfm="math"]) { + [data-mfm="root"] code[data-mfm="inlineCode"]:not([data-mfm="math"]) { display: inline-block; - padding: 4px 8px; - margin: 0 0.5em; - font-size: 80%; border-radius: 2px; line-height: 1.171875em; } [data-mfm="root"] [data-mfm="blockCode"], diff --git a/package-lock.json b/package-lock.json index cbec043..7488779 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "mfmf", - "version": "3.1.0", + "version": "4.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 6758ab4..78c18ac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mfmf", - "version": "3.1.0", + "version": "4.0.0", "description": "", "main": "dist/script/", "scripts": { diff --git a/src/style/_mfm.sass b/src/style/_mfm.sass index 58496ce..150dfcd 100644 --- a/src/style/_mfm.sass +++ b/src/style/_mfm.sass @@ -29,11 +29,8 @@ font-size: smaller [data-mfm="inlineCode"], - code:not([data-mfm="math"]) + code[data-mfm="inlineCode"]:not([data-mfm="math"]) display: inline-block - padding: 4px 8px - margin: 0 0.5em - font-size: 80% border-radius: 2px line-height: 1.171875em