Closed mattmewton closed 3 months ago
The MToast component uses an MIcon component under the hood. Since the default size for MIcon is small, all of the toast icons are also small.
MToast
MIcon
small
Added an icon-size property to allow devs to control the size of the toast icons.
icon-size
Example with icon-size="medium"
icon-size="medium"
Before:
After:
Deployed Styleguide and Lab.NotesLinks may take a few minutes to update after PR is opened or commit is pushed.Links may become invalidated after PR is merged or closed.Links for all releases and open PRs can be found on the Maker Deploys page.
:tada: This PR is included in version 19.7.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Describe the problem this PR addresses
The
MToast
component uses anMIcon
component under the hood. Since the default size forMIcon
issmall
, all of the toast icons are also small.Describe the changes in this PR
Added an
icon-size
property to allow devs to control the size of the toast icons.Example with
icon-size="medium"
Before:
After:
Other information