]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
adds small-expanded css
authorRafiBomb <rafi@zurb.com>
Wed, 8 Jun 2016 15:52:10 +0000 (08:52 -0700)
committerRafiBomb <rafi@zurb.com>
Wed, 8 Jun 2016 15:52:10 +0000 (08:52 -0700)
scss/components/_media-query.scss
test/visual/pages/button-inky.html

index 4961929961f7b3938294425867b77a20abb25c3a..a564b464d78a1da8ac92f306e52afd98428f0ffa 100755 (executable)
       display: inline-block !important;
     }
 
-    &.vertical, &.small-vertical {
+    &.vertical, 
+    &.small-vertical {
       td,
       th {
         display: block !important;
   table.menu[align="center"] {
     width: auto !important;
   }
+
+
+  // expands buttons for small only
+  table.button.small-expand,
+  table.button.small-expanded {
+    width: 100% !important;
+
+    table {
+      width: 100%;
+
+      a {
+        text-align: center !important;
+        width: 100% !important;
+        padding-left: 0 !important;
+        padding-right: 0 !important;
+      }
+    }
+
+    center {
+      min-width: 0;
+    }
+  }
 }
 
index c6fb9ddaf073061f87c4385a665ca67196775c17..f169f0157046cf4f3226d48a580f4bd04893a5d3 100644 (file)
@@ -4,6 +4,7 @@
   }
 </style>
 <container>
+<a href="https://litmus.com/checklist/emails/public/52b6fb8">Test Results - Passing 6/8/1016</a>
   <row>
     <columns small="12" large="12">
       <center>
   </row>
   <row>
     <columns small="12" large="12">
+    Expand small only with center tag
+      <center>
+        <button href="http://zurb.com" href="http://zurb.com" class="small-expand">Expand small only</button>
+      </center>
+    </columns>
+  </row>
+  <row>
+    <columns small="12" large="12">
+    Expand small only
+      <center>
+        <button href="http://zurb.com" href="http://zurb.com" class="small-expand">Expand small only</button>
+      </center>
+    </columns>
+  </row>
+  <row>
+    <columns small="12" large="12">
+    <center>
       <button href="http://zurb.com" href="http://zurb.com" class="expand">I expand and have lots of text</button>
     </columns>
   </row>