Refactor CSS classes

This commit is contained in:
Amine Ben hammou
2019-07-03 02:18:13 +01:00
committed by M. Shull
parent bae579e7be
commit 2804d1770a
2 changed files with 5 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ const Notice = (props) => {
if (hidden) return null;
return ReactDOM.createPortal(
<div ref={elementRef} className={`mailpoet_${props.type}_notice`}>{props.children}</div>,
<div ref={elementRef} className={`mailpoet_base_notice mailpoet_${props.type}_notice`}>{props.children}</div>,
document.getElementById('mailpoet_notices')
);
};