mirror of
https://github.com/vercel/commerce.git
synced 2025-07-21 03:41:22 +00:00
🎨 styles: empty common
:%s
This commit is contained in:
parent
2e3947a1ba
commit
d27f20e9f8
@ -1,15 +1,16 @@
|
||||
@import "../../../styles/utilities";
|
||||
|
||||
.empty {
|
||||
padding: 4rem 1.6rem;
|
||||
padding: 1.6rem;
|
||||
margin: auto;
|
||||
.imgWrap {
|
||||
min-width: 10rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.description {
|
||||
color: var(--disabled);
|
||||
text-align: center;
|
||||
margin-top: 2.4rem;
|
||||
margin-top: .8rem;
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ interface Props {
|
||||
const EmptyCommon = ({ description = "No data to display" }: Props) => {
|
||||
return (
|
||||
<div className={s.empty}>
|
||||
<div className="imgWrap">
|
||||
<div className={s.imgWrap}>
|
||||
<StaticImage src={EmptyImg} alt="empty" />
|
||||
</div>
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user