Repository navigation
v2.5.3 - Phone layouts, menus and chat fixes
Patch release. Two changes may need a look in your code:
spacingon MStack is now the gap between children. Before, it added a margin on every side. If you relied on that margin, usepadding(inside) ormy/mx(outside).- Framework styles sit in the
mineralcascade layer, so your CSS always overrides components. Global element rules such asa { color }orbutton { }now win over components too, and:roottheme tokens in your stylesheet now take effect.
Also in this release:
- MHeading: new
alignprop andtone="inherit"; heading sizes come from the--mineral-font-size-h1…h6tokens and h1–h3 shrink on phones. A colouredMText as="span"inside a heading keeps the heading font and line height. - MText:
tone="inherit"takes the parent colour. - MNavbar: the mobile menu is opaque (token
--mineral-navbar-menu-bg) and the drawer is positioned against the window. - MGitHubIcon works with
color="inherit". - MChat (Pro): line breaks are kept, image-only messages have no empty bubble, groups show their title initials or the new
avatar, MChatHeader takesactions, newshowSender.