Adjust 'no results' styling

This commit is contained in:
David Granado 2022-01-27 17:26:18 -06:00 committed by Thomas Zarebczan
parent d7845f2988
commit 8e94044904
2 changed files with 9 additions and 3 deletions

View file

@ -322,9 +322,9 @@ function SideNavigation(props: Props) {
<SubscriptionListItem key={subscription.uri} subscription={subscription} />
))}
{!!subscriptionFilter && !displayedSubscriptions.length && (
<li className="navigation-link__wrapper ">
<div className="navigation-link">
<div className="button__content">{__('No results')}</div>
<li>
<div className="navigation-item">
<div className="empty empty--centered">{__('No results')}</div>
</div>
</li>
)}

View file

@ -287,6 +287,12 @@
}
}
.navigation-item {
.empty {
padding: var(--spacing-s);
}
}
.navigation__overlay {
position: fixed;
width: 100vw;