diff --git a/assets/runtime.js b/assets/runtime.js index 8a1abcb..b691d80 100644 --- a/assets/runtime.js +++ b/assets/runtime.js @@ -190,16 +190,22 @@ // at 1920x1080 so vw/vh/clamp all resolve exactly like the audience view. // We inject via contentDocument.write() so there's ZERO HTML escaping issues. // Template is a JS string (not embedded HTML attribute), so quotes stay raw. + // IMPORTANT: Do NOT override .slide or .deck styling. The original + // base.css + theme + scoped CSS handles flex centering, padding, etc. + // We only: (1) reset margins, (2) force the single slide to be visible + // (.is-active), (3) hide the speaker notes and runtime chrome. const iframeDocTemplate = '' + '' + '' + styleSheets + '' + '' + '
%%SLIDE_HTML%%
' @@ -239,27 +245,29 @@ + ' .pv-hint { font-size: 11px; color: #484f58; margin-left: auto; }\n' + '\n' + '\n\n' -+ '
\n' -+ '
\n' ++ '
\n' ++ '
\n' + '
CURRENT
\n' + '
\n' + '
\n' -+ '
\n' -+ '
\n' ++ '
\n' ++ '
\n' ++ '
\n' + '
NEXT
\n' + '
\n' + '
\n' -+ '
\n' ++ '
\n' ++ '
\n' + '
SPEAKER SCRIPT · 逐字稿
\n' + '
\n' + '
\n' + '
\n' -+ '
\n' -+ '
00:00
\n' -+ '
1 / ' + total + '
\n' -+ '
\n' -+ '
← → 翻页 · R 重置计时 · Esc 关闭
\n' -+ '
\n' ++ '
\n' ++ '
\n' ++ '
00:00
\n' ++ '
1 / ' + total + '
\n' ++ '
\n' ++ '
← → 翻页 · R 重置计时 · 拖动分隔线调整区域 · Esc 关闭
\n' + '
\n' + '