#1896·mjml

Social elements not rendered horizontally on Outlook mobile web client

Author: schuma7Created May 8, 2020Updated Sep 23, 2026
LabelsMJML 5

Describe the bug The mobile web version of the Outlook client does not seem to respect the mode="horizontal" attribute on the mj-social element. It stacks the elements vertically instead of displaying them in one row.

To Reproduce Steps to reproduce the behavior:

  1. Open the MJML application
  2. Paste the following snippet:
<mjml>
  <mj-body>
    <mj-wrapper full-width="full-width">
      <mj-section padding-bottom="0">
        <mj-column padding="0">
          <mj-social font-size="15px" icon-size="30px" mode="horizontal" padding="0" align="center">
            <mj-social-element name="instagram-noshare" href="https://mjml.io/" href="https://mjml.io/">
            </mj-social-element>
            <mj-social-element name="facebook-noshare" href="https://mjml.io/">
            </mj-social-element>
            <mj-social-element name="youtube-noshare" href="https://mjml.io/">
            </mj-social-element>
            <mj-social-element name="twitter-noshare" href="https://mjml.io/">
            </mj-social-element>
          </mj-social>
        </mj-column>
      </mj-section>
    </mj-wrapper>
  </mj-body>
</mjml>
  1. Send the HTML to an outlook address.
  2. Open Chrome and use the developer toolbar to switch to the "mobile device mode"
  3. Login to your Outlook account, open the email and notice that the icons are stacked vertically instead of horizontally

Expected behavior The social icons are supposed to be rendered horizontally in one single row on both desktop and mobile views.

MJML environment (please complete the following information):

  • OS: MacOS 10.14.6
  • MJML Version: v^4.6.2
  • MJML tool used: MJML App v3.0.2

Email sending environment(for rendering issues):

  • Platform used to send the email: Mailjet

Affected email clients (for rendering issues):

  • Email Client: Outlook Mobile on the Web
  • OS: MacOS
  • Browser: Chrome in mobile device mode (using dev tools)

Screenshots

image

image