8000 Write `margin` in lowercase in styles · Issue #1619 · mjmlio/mjml · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Write margin in lowercase in styles #1619
Closed
@hteumeuleu

Description

@hteumeuleu

Certain components (like mjml-section or mjml-button) generate Margin styles with an uppercase M.

This was useful historically for Outlook.com where CSS support depended on case. So margin:0 would get stripped by Outlook.com, but not Margin:0;. This is no longer the case (no pun intended) since the last versions of Outlook.com so it can be safely changed back to lowercase margin everywhere. This might be a small thing but it can be one less quirk to figure out for newcomers and make MJML look more up to date towards modern best practices.

See this bug report for more details.

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

      0