diff --git a/packages/mantine-react-table/src/components/inputs/MRT_GlobalFilterTextInput.tsx b/packages/mantine-react-table/src/components/inputs/MRT_GlobalFilterTextInput.tsx index 4cc89b67b..f1b222914 100644 --- a/packages/mantine-react-table/src/components/inputs/MRT_GlobalFilterTextInput.tsx +++ b/packages/mantine-react-table/src/components/inputs/MRT_GlobalFilterTextInput.tsx @@ -30,6 +30,7 @@ export const MRT_GlobalFilterTextInput = ({ localization, mantineSearchTextInputProps, manualFiltering, + positionGlobalFilter }, refs: { searchInputRef }, setGlobalFilter, @@ -91,7 +92,7 @@ export const MRT_GlobalFilterTextInput = ({ } mt={0} - mx="sm" + mx={positionGlobalFilter !== 'left' ? 'mx' : undefined} onChange={(event) => setSearchValue(event.target.value)} placeholder={localization.search} rightSection={