Improve style of toasts to match Figma

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-05-21 16:32:19 +01:00
parent e7d37228f2
commit 7e7c48e046
2 changed files with 40 additions and 11 deletions

View file

@ -57,7 +57,10 @@ export default class ToastContainer extends React.Component {
toastKey: key,
});
toast = (<div className={toastClasses}>
<h2>{title}{countIndicator}</h2>
<div className="mx_Toast_title">
<h2>{title}</h2>
<span>{countIndicator}</span>
</div>
<div className="mx_Toast_body">{React.createElement(component, toastProps)}</div>
</div>);
}