From: RafiBomb Date: Wed, 8 Jun 2016 16:26:57 +0000 (-0700) Subject: adds docs example for small-expanded button X-Git-Tag: v2.2.0~11^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67b5d9ea94d9f9476f2b32f8826fb918b2ae5bea;p=thirdparty%2Ffoundation%2Ffoundation-emails.git adds docs example for small-expanded button --- diff --git a/docs/pages/button.md b/docs/pages/button.md index 424d1f02..2a396abd 100644 --- a/docs/pages/button.md +++ b/docs/pages/button.md @@ -9,9 +9,14 @@ Creating a bullet-proof button that works in all email clients requires a table In Inky HTML, the ` + ``` +
+- It's important to add an `href` attribute to your `
+ --- ## Sizing @@ -37,12 +42,13 @@ Don't forget the `href=""` ;) To create an expanded button (full width of it's container), add the class `.expanded` to the outer `` of the button, and wrap a `
` tag around the ``. -In Inky HTML, add the `.expanded` class to the ` + + ``` @@ -54,10 +60,10 @@ In Inky HTML, add the `.expanded` class to the `
` (or the ` - - - + + + + ``` --- @@ -75,8 +81,3 @@ Creating buttons with a radius or rounded edges (like a pill) can be achieved by ``` - -
-- It's important to add an `href` attribute to your `
diff --git a/test/visual/pages/button-inky.html b/test/visual/pages/button-inky.html index f169f015..1a317721 100644 --- a/test/visual/pages/button-inky.html +++ b/test/visual/pages/button-inky.html @@ -49,14 +49,14 @@ - + Expand small only with center tag
- +
@@ -64,7 +64,7 @@ Expand small only
- +