瀏覽代碼

adding test for stacking text on top of icons

Dave Gandy 11 年之前
父節點
當前提交
dae347b76e
共有 3 個文件被更改,包括 9 次插入1 次删除
  1. 4 0
      src/_includes/tests/stacked-with-text.html
  2. 1 1
      src/_includes/tests/stacked.html
  3. 4 0
      src/test.html

+ 4 - 0
src/_includes/tests/stacked-with-text.html

@@ -0,0 +1,4 @@
+<span class="fa-stack">
+  <i class="fa fa-calendar-o fa-stack-2x"></i>
+  <span class="fa-stack-1x padding-top-sm">27</span>
+</span>

+ 1 - 1
src/_includes/tests/stacked.html

@@ -55,4 +55,4 @@
     <i class="fa fa-github fa-stack-1x"></i>
     <i class="fa fa-github fa-stack-1x"></i>
   </span>
   </span>
   GitHub Icon
   GitHub Icon
-</p>
+</p>

+ 4 - 0
src/test.html

@@ -729,6 +729,10 @@ relative_path: ../
   <div class="well">
   <div class="well">
     {% include tests/stacked-inside-anchor.html %}
     {% include tests/stacked-inside-anchor.html %}
   </div>
   </div>
+  <h4>Stacked icon background with text foreground</h4>
+  <div class="well">
+    {% include tests/stacked-with-text.html %}
+  </div>
 
 
 
 
   <h3>Mirrored and rotated icons</h3>
   <h3>Mirrored and rotated icons</h3>