From 5faa22a6499903fd7c8b9e48eac2f9c7d1e79c7e Mon Sep 17 00:00:00 2001 From: cavrois cedric Date: Fri, 23 Mar 2018 14:02:34 +0100 Subject: [PATCH] fix #1072 put padding attr in style --- packages/mjml-navbar/src/NavbarLink.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/mjml-navbar/src/NavbarLink.js b/packages/mjml-navbar/src/NavbarLink.js index 9058f5f31..4d582b399 100644 --- a/packages/mjml-navbar/src/NavbarLink.js +++ b/packages/mjml-navbar/src/NavbarLink.js @@ -53,6 +53,13 @@ export default class MjNavbarLink extends BodyComponent { 'padding-right': this.getAttribute('padding-right'), 'padding-bottom': this.getAttribute('padding-bottom'), }, + td: { + padding: this.getAttribute('padding'), + 'padding-top': this.getAttribute('padding-top'), + 'padding-left': this.getAttribute('padding-left'), + 'padding-right': this.getAttribute('padding-right'), + 'padding-bottom': this.getAttribute('padding-bottom'), + } } } @@ -87,11 +94,7 @@ export default class MjNavbarLink extends BodyComponent { ${conditionalTag(`