Skip to content

Commit b6c3d91

Browse files
ofriwclaude
andcommitted
Fix RevealSlideshow marker text styling
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f8b8c6d commit b6c3d91

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

website/src/components/PresentationMode/RevealSlideshow.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import ThreeContextWorkflow from '../VisualElements/ThreeContextWorkflow';
2222
import ContextWindowMeter from '../VisualElements/ContextWindowMeter';
2323
import AbstractShapesVisualization from '../VisualElements/AbstractShapesVisualization';
2424
import PlanningStrategyComparison from '../VisualElements/PlanningStrategyComparison';
25+
import CompoundQualityVisualization from '../VisualElements/CompoundQualityVisualization';
2526

2627
interface SpeakerNotes {
2728
talkingPoints: string;
@@ -90,6 +91,7 @@ const VISUAL_COMPONENTS = {
9091
ContextWindowMeter,
9192
AbstractShapesVisualization,
9293
PlanningStrategyComparison,
94+
CompoundQualityVisualization,
9395
};
9496

9597
export default function RevealSlideshow({

website/src/css/custom.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,10 @@
175175
/* All emphasis colors desaturated for optimal dark mode readability */
176176
}
177177

178-
/* Mermaid diagram styling - Centered horizontally */
179-
.mermaid {
178+
/* Mermaid diagram styling - Centered horizontally
179+
Docusaurus theme-mermaid uses CSS modules with hashed class names (e.g., container_lyt7)
180+
Target using attribute selector that matches the Mermaid SVG ID pattern */
181+
[class*="container_"]:has(> svg[id^="mermaid"]) {
180182
display: flex;
181183
justify-content: center;
182184
align-items: center;
@@ -189,7 +191,7 @@
189191
}
190192

191193
/* Mermaid SVG responsive behavior */
192-
.mermaid svg {
194+
[class*="container_"]:has(> svg[id^="mermaid"]) > svg {
193195
max-width: 100%;
194196
height: auto;
195197
display: block;

0 commit comments

Comments
 (0)