Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Fix the search bar position in table toolbar on desktop

Damian Legawiec5cdd173870f9
diff --git a/packages/dashboard-core/src/components/table-toolbar.tsx b/packages/dashboard-core/src/components/table-toolbar.tsx
index f62830e55d..51254178b6 100644
--- a/packages/dashboard-core/src/components/table-toolbar.tsx
+++ b/packages/dashboard-core/src/components/table-toolbar.tsx
@@ -202,7 +202,7 @@ export function TableToolbar({
{/* One row at every width, controls pinned to the end. Import and
Export drop their labels on a phone so the row still fits; the
title truncates ahead of them rather than pushing them off. */}
- <div className="ml-auto flex shrink-0 items-center gap-2">
+ <div className="ml-auto lg:ml-0 flex shrink-0 items-center gap-2">
{/* Filter button */}
{filterableColumns.length > 0 && (
<Popover open={filterOpen} onOpenChange={setFilterOpen}>