From 3d1bb467d4bef94cc9579505b1860516889b7f76 Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Mon, 9 Mar 2026 12:12:07 -0400 Subject: [PATCH 1/3] update li admonitions to have top margin --- packages/docusaurus-theme/css/legacy.css | 4 ++++ packages/test-site/docs/admonition-in-list.md | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 packages/test-site/docs/admonition-in-list.md diff --git a/packages/docusaurus-theme/css/legacy.css b/packages/docusaurus-theme/css/legacy.css index db337d7..2d44d85 100644 --- a/packages/docusaurus-theme/css/legacy.css +++ b/packages/docusaurus-theme/css/legacy.css @@ -2313,3 +2313,7 @@ aside nav { } } +li .theme-admonition { /* mar-03-2026. Admonitions inside lists didn't have any padding/margin */ + margin-top: 1em; + margin-bottom: 1em; +} \ No newline at end of file diff --git a/packages/test-site/docs/admonition-in-list.md b/packages/test-site/docs/admonition-in-list.md new file mode 100644 index 0000000..0eea451 --- /dev/null +++ b/packages/test-site/docs/admonition-in-list.md @@ -0,0 +1,10 @@ +# Test admonition in list + +1. this is a list +1. and this is more + + :::warning + oh no... + ::: + +1. and after \ No newline at end of file From e8f28af12e52ae12331c52270625a14c988cbe59 Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Mon, 9 Mar 2026 12:13:27 -0400 Subject: [PATCH 2/3] v0.7.3 --- packages/docusaurus-theme/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus-theme/package.json b/packages/docusaurus-theme/package.json index dbfd61b..ff04735 100644 --- a/packages/docusaurus-theme/package.json +++ b/packages/docusaurus-theme/package.json @@ -1,6 +1,6 @@ { "name": "@netfoundry/docusaurus-theme", - "version": "0.7.2", + "version": "0.7.3", "description": "NetFoundry Docusaurus theme with shared layout, footer, and styling", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", From 535a4721d256bab75e7d209a5763c91b1f99b243 Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Mon, 9 Mar 2026 12:17:38 -0400 Subject: [PATCH 3/3] update theme --- unified-doc/package.json | 2 +- unified-doc/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/unified-doc/package.json b/unified-doc/package.json index aa1ff18..97a215c 100644 --- a/unified-doc/package.json +++ b/unified-doc/package.json @@ -53,7 +53,7 @@ "@docusaurus/theme-mermaid": "^3.9.2", "@hotjar/browser": "^1.0.9", "@mdx-js/react": "^3.0.0", - "@netfoundry/docusaurus-theme": "^0.7.2", + "@netfoundry/docusaurus-theme": "0.7.3", "algoliasearch": "^5.36.0", "asciinema-player": "^3.10.0", "clsx": "^2.0.0", diff --git a/unified-doc/yarn.lock b/unified-doc/yarn.lock index 70197e0..ca74f0f 100644 --- a/unified-doc/yarn.lock +++ b/unified-doc/yarn.lock @@ -2599,10 +2599,10 @@ hls.js "~1.6.6" mux-embed "^5.8.3" -"@netfoundry/docusaurus-theme@^0.7.2": - version "0.7.2" - resolved "https://registry.yarnpkg.com/@netfoundry/docusaurus-theme/-/docusaurus-theme-0.7.2.tgz#570a4c73cfa3ad80cea36aa340e5731a44ef0d37" - integrity sha512-oFc5mqLNbevi+ghArdDyYA9G0PCtGGklVujp8mVXkEfct/zKzDzqj0//0PIWTEhCC2xg4njXBzVzdG5oNGUU8g== +"@netfoundry/docusaurus-theme@0.7.3": + version "0.7.3" + resolved "https://registry.yarnpkg.com/@netfoundry/docusaurus-theme/-/docusaurus-theme-0.7.3.tgz#4fc4688d5e600eec538e460037dd32890e242699" + integrity sha512-QIBudsKCa/DmInPAMjf2FSoxfhGw7mNuZg5EMxtiki8AgbwLvcqTt6sH7lRW3wyAo5ugfTgYkkWuKntJ4khwGw== dependencies: "@docsearch/react" "^3" algoliasearch "^5"