Skip to content

Commit 7b6fb13

Browse files
ofriwclaude
andcommitted
Center presentation code blocks with max-width constraint
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8f4a7f8 commit 7b6fb13

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

website/src/components/PresentationMode/RevealSlideshow.module.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@
110110
composes: gpuOptimized;
111111
font-size: 0.8em;
112112
line-height: 1.4;
113-
margin: 0;
113+
margin: 0 auto;
114+
max-width: var(--pres-component-max-width);
114115
border-radius: 8px;
115116
background: #1e1e1e;
116117
padding: 1.2em;
@@ -129,7 +130,8 @@
129130
composes: gpuOptimized;
130131
font-size: 0.65em;
131132
line-height: 1.3;
132-
margin: 0.5em 0 0 0;
133+
margin: 0.5em auto 0 auto;
134+
max-width: var(--pres-component-max-width);
133135
border-radius: 6px;
134136
background: #1e1e1e;
135137
padding: 1em;

0 commit comments

Comments
 (0)