Skip to content

mj-accordion bugs (font-family and padding-x) #2997

@dazgreer

Description

@dazgreer

Describe the bug

  1. When setting font-family on either mj-accordion or mj-accordion-element, the specified font is not shown in Outlook.
  2. When adding padding-bottom, padding-left, padding-right, padding-top attributes to mj-accordion-title or mj-accordion-text, they are overwritten by the default padding value

To Reproduce
Steps to reproduce the behavior:

  1. https://mjml.io/try-it-live/0Ze6gE-II1
  2. https://mjml.io/try-it-live/FHpBsk7KPj

Font family example output:
Image

Expected behavior

  1. font-family should be serif here as declared in the font-family attribute on mj-accordion
  2. The attributes should be respected and override any default padding declarations

MJML environment (please complete the following information):

  1. https://mjml.io/try-it-live/0Ze6gE-II1
  2. https://mjml.io/try-it-live/FHpBsk7KPj

Email sending environment(for rendering issues):
N/A

Affected email clients (for rendering issues):
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions