From d386d0fa7cc1fe17aecce0e27c1b186e9fe3698b Mon Sep 17 00:00:00 2001 From: Piotr Blaszczyk Date: Fri, 12 Dec 2025 09:02:48 +0100 Subject: [PATCH 1/3] [AF-393] Fix bullet points styles in the docs --- apps/docs/src/styles/custom.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apps/docs/src/styles/custom.css b/apps/docs/src/styles/custom.css index 9a39d992e..c7e74facb 100644 --- a/apps/docs/src/styles/custom.css +++ b/apps/docs/src/styles/custom.css @@ -80,3 +80,14 @@ ng-diagram-canvas { background-color: var(--ngd-node-stroke-primary-default); } } + +/* Restore list styles removed by Tailwind preflight */ +.sl-markdown-content ul:not([role='tablist']) { + list-style-type: disc; + padding-left: 1.5rem; +} + +.sl-markdown-content ol { + list-style-type: decimal; + padding-left: 1.5rem; +} From 1c86f947aa2d2e0367bd4dd1a04b04f94bcb7149 Mon Sep 17 00:00:00 2001 From: Piotr Blaszczyk Date: Fri, 12 Dec 2025 09:09:46 +0100 Subject: [PATCH 2/3] cleanup + changelog --- CHANGELOG.md | 1 + apps/docs/src/styles/custom.css | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d253a8035..597217e97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed incorrectly computed measuredBounds for nodes ([#486]https://github.com/synergycodes/ng-diagram/pull/486) - Fixed missing edge arrowheads in Safari. Safari doesn't support `context-stroke` in SVG markers, so a fallback using inline markers with `currentColor` substitution is now used for Safari compatibility ([#487](https://github.com/synergycodes/ng-diagram/pull/487)) - Fixed copy-paste retaining `groupId` when pasting nodes outside their group. Now `groupId` is only preserved when the group is also copied, with the reference updated to the new group's ID ([#491](https://github.com/synergycodes/ng-diagram/pull/491)) +- Fixed bullet points styles in the documentation ### Deprecated diff --git a/apps/docs/src/styles/custom.css b/apps/docs/src/styles/custom.css index c7e74facb..5c056bf77 100644 --- a/apps/docs/src/styles/custom.css +++ b/apps/docs/src/styles/custom.css @@ -60,11 +60,11 @@ ng-diagram-canvas { } } -/* +.sl-markdown-content { + /* * TODO - move this to wrapper stylesheet when created * Style diagram buttons inside markdown content */ -.sl-markdown-content { button { border: 1px solid var(--ngd-pt-stroke-primary-default); padding: 1px 6px; @@ -79,15 +79,15 @@ ng-diagram-canvas { button:active { background-color: var(--ngd-node-stroke-primary-default); } -} -/* Restore list styles removed by Tailwind preflight */ -.sl-markdown-content ul:not([role='tablist']) { - list-style-type: disc; - padding-left: 1.5rem; -} + /* Restore list styles removed by Tailwind preflight */ + ul:not([role='tablist']), + ol { + list-style-type: disc; + padding-left: 1.5rem; + } -.sl-markdown-content ol { - list-style-type: decimal; - padding-left: 1.5rem; + ol { + list-style-type: decimal; + } } From 6cd5ca812ad9dc8b9957c3a3f3bf7ff8e73a93a4 Mon Sep 17 00:00:00 2001 From: Piotr Blaszczyk Date: Fri, 12 Dec 2025 09:15:14 +0100 Subject: [PATCH 3/3] Fix changelog --- CHANGELOG.md | 4 ++-- apps/docs/src/content/docs/changelog.mdx | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 597217e97..53c562173 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,10 +27,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed misleading error when destroying `NgDiagramModelService` after engine is already destroyed. The error incorrectly reported "Library engine not initialized yet". Now the service checks if engine is available and skips listener cleanup if already destroyed. ([#466](https://github.com/synergycodes/ng-diagram/issues/466) - thanks for finding this [@Filipstrozik](https://github.com/Filipstrozik) 💪) - Fixed drag-snapping issues with different snapping configurations. The issue still occurred when dragging multiple nodes at the same hierarchy level (i.e., nodes without groups) ([#470](https://github.com/synergycodes/ng-diagram/pull/470)) -- Fixed incorrectly computed measuredBounds for nodes ([#486]https://github.com/synergycodes/ng-diagram/pull/486) +- Fixed incorrectly computed measuredBounds for nodes ([#486](https://github.com/synergycodes/ng-diagram/pull/486)) - Fixed missing edge arrowheads in Safari. Safari doesn't support `context-stroke` in SVG markers, so a fallback using inline markers with `currentColor` substitution is now used for Safari compatibility ([#487](https://github.com/synergycodes/ng-diagram/pull/487)) - Fixed copy-paste retaining `groupId` when pasting nodes outside their group. Now `groupId` is only preserved when the group is also copied, with the reference updated to the new group's ID ([#491](https://github.com/synergycodes/ng-diagram/pull/491)) -- Fixed bullet points styles in the documentation +- Fixed bullet points styles in the documentation([#494](https://github.com/synergycodes/ng-diagram/pull/494)) ### Deprecated diff --git a/apps/docs/src/content/docs/changelog.mdx b/apps/docs/src/content/docs/changelog.mdx index b3979bd14..41ce9a963 100644 --- a/apps/docs/src/content/docs/changelog.mdx +++ b/apps/docs/src/content/docs/changelog.mdx @@ -32,9 +32,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed misleading error when destroying `NgDiagramModelService` after engine is already destroyed. The error incorrectly reported "Library engine not initialized yet". Now the service checks if engine is available and skips listener cleanup if already destroyed. ([#466](https://github.com/synergycodes/ng-diagram/issues/466) - thanks for finding this [@Filipstrozik](https://github.com/Filipstrozik) 💪) - Fixed drag-snapping issues with different snapping configurations. The issue still occurred when dragging multiple nodes at the same hierarchy level (i.e., nodes without groups) ([#470](https://github.com/synergycodes/ng-diagram/pull/470)) -- Fixed incorrectly computed measuredBounds for nodes ([#486]https://github.com/synergycodes/ng-diagram/pull/486) +- Fixed incorrectly computed measuredBounds for nodes ([#486](https://github.com/synergycodes/ng-diagram/pull/486)) - Fixed missing edge arrowheads in Safari. Safari doesn't support `context-stroke` in SVG markers, so a fallback using inline markers with `currentColor` substitution is now used for Safari compatibility ([#487](https://github.com/synergycodes/ng-diagram/pull/487)) - Fixed copy-paste retaining `groupId` when pasting nodes outside their group. Now `groupId` is only preserved when the group is also copied, with the reference updated to the new group's ID ([#491](https://github.com/synergycodes/ng-diagram/pull/491)) +- Fixed bullet points styles in the documentation([#494](https://github.com/synergycodes/ng-diagram/pull/494)) ### Deprecated