From 18d653cc2dfb716f312f0f2fe896afbc069d3748 Mon Sep 17 00:00:00 2001 From: Michael Mainguy Date: Fri, 22 Aug 2025 06:40:29 -0500 Subject: [PATCH] Fix Mermaid diagram text visibility and styling issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add essential CSS for proper text display in diagram nodes and edges - Fix foreignObject text container inheritance for proper styling - Ensure node labels and edge labels are visible with correct fonts - Add responsive sizing for mobile devices - Remove complex styling that was causing text clipping issues - Simplify diagram container styling for better compatibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- public/themes-manifest.json | 2 +- .../themes/default/layouts/diagram-slide.html | 8 +- public/themes/default/style.css | 83 ++++++++++++++----- 3 files changed, 71 insertions(+), 22 deletions(-) diff --git a/public/themes-manifest.json b/public/themes-manifest.json index e9dd450..2d708a0 100644 --- a/public/themes-manifest.json +++ b/public/themes-manifest.json @@ -15,5 +15,5 @@ "hasMasterSlide": true } }, - "generated": "2025-08-22T02:33:14.669Z" + "generated": "2025-08-22T11:35:39.977Z" } \ No newline at end of file diff --git a/public/themes/default/layouts/diagram-slide.html b/public/themes/default/layouts/diagram-slide.html index eb1cd8e..80d3670 100644 --- a/public/themes/default/layouts/diagram-slide.html +++ b/public/themes/default/layouts/diagram-slide.html @@ -12,7 +12,13 @@ data-type="diagram" data-placeholder="Enter Mermaid diagram syntax here..." data-multiline="true">{{diagram}} - + +
+ + {{content2}} + + +