We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23580b7 commit 881a8eeCopy full SHA for 881a8ee
packages/mantine-react-table/src/components/inputs/MRT_GlobalFilterTextInput.tsx
@@ -30,6 +30,7 @@ export const MRT_GlobalFilterTextInput = <TData extends MRT_RowData>({
30
localization,
31
mantineSearchTextInputProps,
32
manualFiltering,
33
+ positionGlobalFilter
34
},
35
refs: { searchInputRef },
36
setGlobalFilter,
@@ -91,7 +92,7 @@ export const MRT_GlobalFilterTextInput = <TData extends MRT_RowData>({
91
92
<TextInput
93
leftSection={!enableGlobalFilterModes && <IconSearch />}
94
mt={0}
- mx="sm"
95
+ mx={positionGlobalFilter !== 'left' ? 'mx' : undefined}
96
onChange={(event) => setSearchValue(event.target.value)}
97
placeholder={localization.search}
98
rightSection={
0 commit comments