Heydon Pickering 8 سال پیش
والد
کامیت
1ce362c82f
5فایلهای تغییر یافته به همراه16 افزوده شده و 4 حذف شده
  1. 7 1
      docs/css/styles.css
  2. 1 1
      docs/js/dom-scripts.js
  3. 0 0
      docs/service-worker.js
  4. 7 1
      themes/infusion/static/css/styles.css
  5. 1 1
      themes/infusion/static/js/dom-scripts.js

+ 7 - 1
docs/css/styles.css

@@ -244,6 +244,12 @@ caption {
     flex-direction: column;
     height: 100%;
 }
+.intro {
+  flex: 1 0 auto;
+}
+.patterns {
+  flex: 1 1 auto;
+}
 .logo {
     border: 0;
 }
@@ -385,7 +391,7 @@ caption {
 }
 .note svg {
     height: 2.25rem;
-    width: auto;
+    width: 2.25rem;
 }
 .note > div {
     margin-left: 0.75rem;

+ 1 - 1
docs/js/dom-scripts.js

@@ -97,7 +97,7 @@
       var padding = (viewBox[2] / viewBox[3]) * 100
 
       // Set inline styles
-      svg.setAttribute('style', 'width: 100%; padding-bottom: ' + padding + '%; height: 1px; overflow: visible')
+      svg.setAttribute('style', 'width: 100%; padding-bottom: ' + padding + '%; overflow: visible')
 
       // Create span wrapper
       var span = document.createElement('span')

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
docs/service-worker.js


+ 7 - 1
themes/infusion/static/css/styles.css

@@ -244,6 +244,12 @@ caption {
     flex-direction: column;
     height: 100%;
 }
+.intro {
+  flex: 1 0 auto;
+}
+.patterns {
+  flex: 1 1 auto;
+}
 .logo {
     border: 0;
 }
@@ -385,7 +391,7 @@ caption {
 }
 .note svg {
     height: 2.25rem;
-    width: auto;
+    width: 2.25rem;
 }
 .note > div {
     margin-left: 0.75rem;

+ 1 - 1
themes/infusion/static/js/dom-scripts.js

@@ -97,7 +97,7 @@
       var padding = (viewBox[2] / viewBox[3]) * 100
 
       // Set inline styles
-      svg.setAttribute('style', 'width: 100%; padding-bottom: ' + padding + '%; height: 1px; overflow: visible')
+      svg.setAttribute('style', 'width: 100%; padding-bottom: ' + padding + '%; overflow: visible')
 
       // Create span wrapper
       var span = document.createElement('span')

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است