mirror of
https://github.com/kremalicious/umami.git
synced 2024-06-30 13:41:50 +02:00
style: add margin to "empty" placeholder message
This commit is contained in:
parent
405766d829
commit
a4b1a478af
|
@ -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>
|
||||||
);
|
);
|
||||||
|
|
|
@ -9,3 +9,7 @@
|
||||||
.icon {
|
.icon {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.msg {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user