Skip to content

Commit

Permalink
Fix text icon alignment in FilterList
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Aug 29, 2024
1 parent cbaaf5b commit 75a6683
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ra-ui-materialui/src/list/filter/FilterList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ export const FilterList = (props: FilterListProps) => {
return (
<Box {...rest}>
<Box mt={2} display="flex" alignItems="center">
<Box mr={1}>{icon}</Box>
<Box mr={1} lineHeight="initial">
{icon}
</Box>
<Typography variant="overline">
{translate(label, { _: label })}
</Typography>
Expand Down

0 comments on commit 75a6683

Please sign in to comment.