فهرست منبع

adjust layout

Yuki Takei 3 سال پیش
والد
کامیت
a9c7b863e4

+ 1 - 4
packages/presentation/src/components/Presentation.module.scss

@@ -3,14 +3,11 @@
   // workaround from https://github.com/css-modules/css-modules/issues/295#issuecomment-952885628
   &:global(.reveal) :global {
     .slides {
-      inset: 50% auto auto 50%;
-      width: 1280px;
-      height: 700px;
       text-align: unset;
-      transform: translate(-50%, -50%);
 
       section {
         position: absolute;
+        width: 100%;
       }
     }
     .controls {

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

@@ -13,7 +13,6 @@ import styles from './Presentation.module.scss';
 
 
 const baseRevealOptions: Reveal.Options = {
-  disableLayout: true,
   slideNumber: 'c/t',
 };
 

+ 0 - 1
packages/presentation/src/components/Sections.global.scss

@@ -1,5 +1,4 @@
 div.marpit > div.slides > section :is(pre, marp-pre) {
   padding: 0;
-  // background-color: none;
   border: none;
 }