ソースを参照

Merge branch 'master' of https://github.com/zzossig/zdoc

zzossig 5 年 前
コミット
207e45cd94

+ 1 - 0
assets/sass/components/_drawer.scss

@@ -6,6 +6,7 @@
   width: $drawer-width;
   height: 100%;
 
+  @include transition(all, 0.3s, ease-out);
   @include themify($themes) {
     background-color: themed('body-background-color');
   }

+ 1 - 1
assets/sass/pages/_single.scss

@@ -241,7 +241,7 @@
     }
 
     p {
-      margin: 0 0 1.75rem 0;
+      margin: 0 0 1rem 0;
       padding: 0;      
 
       code:not([class^=language]) {

+ 0 - 2
layouts/partials/head/scripts.html

@@ -96,8 +96,6 @@
       modal.style.left = 0;
       modal.style.opacity = 1;
       drawer.style.left = 0;
-      drawer.style.transition = "left 0.3s ease-out, opacity 0.2s ease-out";
-      drawer.style.webkitTransition = "left 0.3s ease-out, opacity 0.2s ease-out";
     }
 
     var closeDrawer = function() {