]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commit
Let buttons expand in Outlook 628/head
authorStadly <magnar@myrtveit.com>
Thu, 10 Nov 2016 09:59:50 +0000 (10:59 +0100)
committerStadly <magnar@myrtveit.com>
Thu, 10 Nov 2016 09:59:50 +0000 (10:59 +0100)
commitb3b1c34822a67c8a7b7ec2a2cf3c8d3d07b3d740
treec9ee0579172d278ccb72d3ef349d8fd69901a34b
parentcd43832d76eb8293c7120c98ebecf2aaf2d9ca45
Let buttons expand in Outlook

!important styles are ignored by Outlook when they are inlined. There
are no other rules that would override the width of the expanded
buttons, so it is not necessary to have it declared as !important.
Removing !important means that the style will be inlined as
style="width: 100%" instead of style="width: 100% !important". The
latter is ignored by Outlook, while the first one works and makes the
button expand. Ref:
https://www.campaignmonitor.com/blog/email-marketing/2010/05/outlook-2007-and-the-inline-important-declaration/
scss/components/_button.scss