fixes but still nto fixed
This commit is contained in:
@@ -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"}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user