Browse Source

adjust size

Yuki Takei 3 years ago
parent
commit
086df44e80
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/presentation/src/components/Presentation.tsx

+ 4 - 0
packages/presentation/src/components/Presentation.tsx

@@ -13,6 +13,10 @@ import styles from './Presentation.module.scss';
 
 
 
 
 const baseRevealOptions: Reveal.Options = {
 const baseRevealOptions: Reveal.Options = {
+  // adjust size to the marp preset size
+  width: 1280,
+  height: 720,
+  maxScale: 1.2,
   slideNumber: 'c/t',
   slideNumber: 'c/t',
 };
 };