Explorar o código

adjust layout

Yuki Takei %!s(int64=3) %!d(string=hai) anos
pai
achega
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
   // workaround from https://github.com/css-modules/css-modules/issues/295#issuecomment-952885628
   &:global(.reveal) :global {
   &:global(.reveal) :global {
     .slides {
     .slides {
-      inset: 50% auto auto 50%;
-      width: 1280px;
-      height: 700px;
       text-align: unset;
       text-align: unset;
-      transform: translate(-50%, -50%);
 
 
       section {
       section {
         position: absolute;
         position: absolute;
+        width: 100%;
       }
       }
     }
     }
     .controls {
     .controls {

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

@@ -13,7 +13,6 @@ import styles from './Presentation.module.scss';
 
 
 
 
 const baseRevealOptions: Reveal.Options = {
 const baseRevealOptions: Reveal.Options = {
-  disableLayout: true,
   slideNumber: 'c/t',
   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) {
 div.marpit > div.slides > section :is(pre, marp-pre) {
   padding: 0;
   padding: 0;
-  // background-color: none;
   border: none;
   border: none;
 }
 }