From 9d299423b1b4eeae128a24cac5a5f9ba48975e39 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 13:01:45 +0100 Subject: [PATCH] chore(deps-dev): bump github-markdown-css from 5.7.0 to 5.8.0 (#5501) * chore(deps-dev): bump github-markdown-css from 5.7.0 to 5.8.0 Bumps [github-markdown-css](https://github.com/sindresorhus/github-markdown-css) from 5.7.0 to 5.8.0. - [Release notes](https://github.com/sindresorhus/github-markdown-css/releases) - [Commits](https://github.com/sindresorhus/github-markdown-css/compare/v5.7.0...v5.8.0) --- updated-dependencies: - dependency-name: github-markdown-css dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * update css --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: William Durand --- docs/github-markdown.css | 43 +++++++++++++++++++++++++++++++++++----- package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 43 insertions(+), 10 deletions(-) diff --git a/docs/github-markdown.css b/docs/github-markdown.css index b7afaa41d58..257b92114e3 100644 --- a/docs/github-markdown.css +++ b/docs/github-markdown.css @@ -126,14 +126,15 @@ .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; - margin: 0; color: var(--fgColor-default); background-color: var(--bgColor-default); font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"; font-size: 16px; - line-height: 1.5; word-wrap: break-word; - scroll-behavior: auto !important; + margin: 0; + min-height: 100vh; + line-height: 1.5; + scroll-behavior: smooth; } .markdown-body .octicon { @@ -256,12 +257,12 @@ } .markdown-body input { - font: inherit; margin: 0; overflow: visible; font-family: inherit; font-size: inherit; line-height: inherit; + font: inherit; } .markdown-body [type=button], @@ -326,6 +327,7 @@ width: max-content; max-width: 100%; overflow: auto; + font-variant: tabular-nums; } .markdown-body td, @@ -485,7 +487,6 @@ .markdown-body input::-webkit-outer-spin-button, .markdown-body input::-webkit-inner-spin-button { margin: 0; - -webkit-appearance: none; appearance: none; } @@ -957,6 +958,10 @@ font-family: monospace; } +.markdown-body body:has(:modal) { + padding-right: var(--dialog-scrollgutter) !important; +} + .markdown-body .pl-c { color: var(--color-prettylights-syntax-comment); } @@ -1219,3 +1224,31 @@ margin-top: 0 !important; } +.markdown-body ul[role='list'], +.markdown-body ol[role='list'] { + list-style: none; +} + +.markdown-body html[focus-within] { + scroll-behavior: smooth; +} + +.markdown-body html:focus-within { + scroll-behavior: smooth; +} + +.markdown-body a:not([class]) { + -webkit-text-decoration-skip: ink; + text-decoration-skip-ink: auto; +} + +.markdown-body img, +.markdown-body picture { + max-width: 100%; + display: block; +} + +.markdown-body [class^=Primer_Brand__Link-module__Link___]::after { + width: calc(100% - 20px); +} + diff --git a/package-lock.json b/package-lock.json index 8505b66de6d..a70e8b94685 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,7 +54,7 @@ "comment-json": "4.2.5", "eslint-config-amo": "5.10.0", "eslint-plugin-amo": "1.26.0", - "github-markdown-css": "5.7.0", + "github-markdown-css": "5.8.0", "glob": "11.0.0", "gunzip-maybe": "1.4.2", "hashish": "0.0.4", @@ -6091,9 +6091,9 @@ } }, "node_modules/github-markdown-css": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/github-markdown-css/-/github-markdown-css-5.7.0.tgz", - "integrity": "sha512-GoYhaqELL4YUjz4tZ00PQ4JzFQkMfrBVuEeRB8W74HoikHWNiaGqSgynpwJEc+xom5uf04qoD/tUSS6ziZltaQ==", + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/github-markdown-css/-/github-markdown-css-5.8.0.tgz", + "integrity": "sha512-dSyhHzwQw4+5z+JveMY66o4PdbRP7ORjCiR5f1DjIDM5sSSE9rrRG5jpXGgx0PUMJC7goIzLtEJyItT2tL8IsQ==", "dev": true, "engines": { "node": ">=10" diff --git a/package.json b/package.json index 3ed13d04eab..9fa437db99c 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "comment-json": "4.2.5", "eslint-config-amo": "5.10.0", "eslint-plugin-amo": "1.26.0", - "github-markdown-css": "5.7.0", + "github-markdown-css": "5.8.0", "glob": "11.0.0", "gunzip-maybe": "1.4.2", "hashish": "0.0.4",