Adjust 'no results' styling
This commit is contained in:
parent
d7845f2988
commit
8e94044904
2 changed files with 9 additions and 3 deletions
|
@ -322,9 +322,9 @@ function SideNavigation(props: Props) {
|
||||||
<SubscriptionListItem key={subscription.uri} subscription={subscription} />
|
<SubscriptionListItem key={subscription.uri} subscription={subscription} />
|
||||||
))}
|
))}
|
||||||
{!!subscriptionFilter && !displayedSubscriptions.length && (
|
{!!subscriptionFilter && !displayedSubscriptions.length && (
|
||||||
<li className="navigation-link__wrapper ">
|
<li>
|
||||||
<div className="navigation-link">
|
<div className="navigation-item">
|
||||||
<div className="button__content">{__('No results')}</div>
|
<div className="empty empty--centered">{__('No results')}</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -287,6 +287,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navigation-item {
|
||||||
|
.empty {
|
||||||
|
padding: var(--spacing-s);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.navigation__overlay {
|
.navigation__overlay {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
|
Loading…
Reference in a new issue