]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commit
Width of centered menus 658/head
authorStadly <magnar@myrtveit.com>
Mon, 17 Dec 2018 10:24:14 +0000 (11:24 +0100)
committerStadly <magnar@myrtveit.com>
Mon, 17 Dec 2018 10:24:14 +0000 (11:24 +0100)
commit6da5f037d7cd12529be49041567bd89688351b1e
tree579509e2614d8576f0cffc2a9f6b93cb7274df3f
parent0642710cb4c7acfe6569f1f948596d15fc9e21f6
Width of centered menus

!important styles are ignored by Outlook when they are inlined. This
rule (.menu[align="center"]) has higher specificity than the other rule
setting the width (table.menu), 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. Ref:
https://www.campaignmonitor.com/blog/email-marketing/2010/05/outlook-2007-and-the-inline-important-declaration/
scss/components/_menu.scss