fixes but still nto fixed

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-15 04:13:54 +00:00
parent e02ba76451
commit 75785aa642
12 changed files with 1037 additions and 80 deletions

View File

@@ -736,8 +736,8 @@ export default function TablePageTemplate({
{/* Filters Row - Below action buttons, left aligned with shadow */}
{showFilters && (renderFilters || filters.length > 0) && (
<div className="flex justify-start py-1.5 mb-2.5">
<div className="bg-gray-50 dark:bg-gray-800/30 rounded-lg px-4 py-2 border border-gray-200 dark:border-gray-700 shadow-md">
<div className="flex gap-3 items-center flex-wrap">
<div className="inline-flex bg-gray-50 dark:bg-gray-800/30 rounded-lg px-4 py-2 border border-gray-200 dark:border-gray-700 shadow-md">
<div className="flex gap-2 items-center flex-wrap">
{renderFilters ? (
renderFilters
) : (
@@ -757,7 +757,7 @@ export default function TablePageTemplate({
onChange={(e) => {
onFilterChange?.(filter.key, e.target.value);
}}
className="w-full sm:flex-1 h-8"
className="w-48 h-8"
/>
);
} else if (filter.type === 'select') {
@@ -772,7 +772,6 @@ export default function TablePageTemplate({
const newValue = value === null || value === undefined ? '' : String(value);
onFilterChange?.(filter.key, newValue);
}}
className={filter.className || "w-full sm:flex-1"}
/>
);
}