]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Fix borders on buttons from being clipped 133/head
authorJames <mail@remailed.net>
Fri, 1 May 2015 02:16:07 +0000 (22:16 -0400)
committerJames <mail@remailed.net>
Fri, 1 May 2015 02:16:07 +0000 (22:16 -0400)
Set the box sizing on buttons to stop the border from making the element larger then 100% when on small devices

css/ink.css

index 7345877b37051c1e4911b387f22475d3ea671fa3..251448021216d97f718a96dbd6da2fea3d6620be 100644 (file)
@@ -438,6 +438,9 @@ table.tiny-button td,
 table.small-button td,
 table.medium-button td,
 table.large-button td {
+  box-sizing:border-box;
+  -moz-box-sizing:border-box;
+  -webkit-box-sizing:border-box;
   display: block;
   width: auto !important;
   text-align: center;