Просмотр исходного кода

Enabled scroll when text overflows

Taichi Masuyama 4 лет назад
Родитель
Сommit
d35d3779a2
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      packages/app/src/styles/style-presentation.scss

+ 9 - 0
packages/app/src/styles/style-presentation.scss

@@ -12,6 +12,15 @@
     font-family: Lato, -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif !important;
   }
 
+  .present {
+    height: 100%;
+  }
+
+  .code-line {
+    max-height: 100%;
+    overflow-y: scroll;
+  }
+
   .slides > section {
     //text-align: left;
     padding: 0;