소스 검색

IE11 tweaks

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')

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.