Skip to content

Commit

Permalink
fix(rich-text-input): now toolbar is responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Garnier committed Jun 20, 2022
1 parent 7ff11e4 commit b91398c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ra-input-rich-text/src/RichTextInputToolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,11 @@ const classes = {
const Root = styled('div')(({ theme }) => ({
[`&.${classes.root}`]: {
display: 'flex',
marginBottom: theme.spacing(1),
flexWrap: 'wrap',
alignItems: 'center',
'& > *': {
marginRight: theme.spacing(1),
marginBottom: theme.spacing(1),
},
'& > *:last-child': {
marginRight: 0,
Expand Down

0 comments on commit b91398c

Please sign in to comment.