Improve responsive layouts and streamline page loading
All checks were successful
Deploy MineGeo to Dokploy / deploy (push) Successful in 8m58s
All checks were successful
Deploy MineGeo to Dokploy / deploy (push) Successful in 8m58s
This commit is contained in:
@@ -54,7 +54,7 @@ export function CatalogBrowser({
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
<p className="muted">
|
||||
<p className="muted catalog-count" role="status">
|
||||
{t("Worlds to explore: {count}", { count: shown.length })}
|
||||
</p>
|
||||
<div className="cards-grid">
|
||||
@@ -63,7 +63,20 @@ export function CatalogBrowser({
|
||||
))}
|
||||
</div>
|
||||
{!shown.length && (
|
||||
<p className="empty-state">{t("No worlds match that search.")}</p>
|
||||
<div className="empty-state catalog-empty">
|
||||
<Search size={28} aria-hidden="true" />
|
||||
<p>{t("No worlds match that search.")}</p>
|
||||
<button
|
||||
type="button"
|
||||
className="button secondary"
|
||||
onClick={() => {
|
||||
setQuery("");
|
||||
setSource("all");
|
||||
}}
|
||||
>
|
||||
{t("Clear filters")}
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user