Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
mjml-group
Advanced tools
Desktop
Mobile
mj-group allows you to prevent columns from stacking on mobile. To do so, wrap the columns inside a mj-group
tag, so they'll stay side by side on mobile.
<mjml>
<mj-body>
<mj-container>
<mj-section>
<mj-group>
<mj-column>
<mj-image width="137px" height="185px" padding="0" src="https://mjml.io/assets/img/easy-and-quick.png" />
<mj-text align="center">
<h2>Easy and quick</h2>
<p>Write less code, save time and code more efficiently with MJML’s semantic syntax.</p>
</mj-text>
</mj-column>
<mj-column>
<mj-image width="166px" height="185px" padding="0" src="https://mjml.io/assets/img/responsive.png" />
<mj-text align="center">
<h2>Responsive</h2>
<p>MJML is responsive by design on most-popular email clients, even Outlook.</p>
</mj-text>
</mj-column>
</mj-group>
</mj-section>
</mj-container>
</mj-body>
</mjml>
Column inside a group must have a width in percentage, not in pixel
You can have both column and group inside a Section
iOS 9 Issue: If you use a HTML beautifier for MJML output, iOS9 will render your columns inside a mj-group as stacked. On the output HTML, remove the blank space between the two columns inside a mj-group.
attribute | unit | description | default attributes |
---|---|---|---|
width | percent/px | group width | (100 / number of sibling in section)% |
vertical-align | string | middle/top/bottom | top |
background-color | string | background color for a group | n/a |
FAQs
mjml-group
The npm package mjml-group receives a total of 123,328 weekly downloads. As such, mjml-group popularity was classified as popular.
We found that mjml-group demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.