@readme/markdown 9.1.3 → 9.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@readme/markdown",
3
3
  "description": "ReadMe's React-based Markdown parser",
4
4
  "author": "Rafe Goldberg <rafe@readme.io>",
5
- "version": "9.1.3",
5
+ "version": "9.1.5",
6
6
  "main": "dist/main.node.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "browser": "dist/main.js",
package/styles/gfm.scss CHANGED
@@ -234,8 +234,8 @@
234
234
  margin-top: 0 !important;
235
235
  }
236
236
 
237
- // for mdx pages, select the next element after <style>
238
- & > style + :nth-child(2) {
237
+ // for mdx pages, select the first markdown element after the style tags
238
+ & > :nth-child(1 of :not(style)) {
239
239
  margin-top: 0 !important;
240
240
  }
241
241