style: add margin to "empty" placeholder message

This commit is contained in:
Alexander Klein 2021-03-12 18:12:53 +01:00
parent 405766d829
commit a4b1a478af
2 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,7 @@ function EmptyPlaceholder({ msg, children }) {
return ( return (
<div className={styles.placeholder}> <div className={styles.placeholder}>
<Icon className={styles.icon} icon={<Logo />} size="xlarge" /> <Icon className={styles.icon} icon={<Logo />} size="xlarge" />
<h2>{msg}</h2> <h2 className={styles.msg}>{msg}</h2>
{children} {children}
</div> </div>
); );

View File

@ -9,3 +9,7 @@
.icon { .icon {
margin-bottom: 30px; margin-bottom: 30px;
} }
.msg {
margin-bottom: 15px;
}