Skip to content

Commit

Permalink
[@mantine/core] Fix incorrect label alignment in Checkbox, Radio and …
Browse files Browse the repository at this point in the history
…Switch components when label is a ReactNode (#2881)
  • Loading branch information
adarshaacharya committed Nov 12, 2022
1 parent 6eee7c8 commit 4aa5bf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mantine-core/src/InlineInput/InlineInput.styles.ts
Expand Up @@ -22,6 +22,8 @@ export default createStyles((theme, { labelPosition, size }: InlineInputStylesPa

labelWrapper: {
...theme.fn.fontStyles(),
display: 'inline-flex',
flexDirection: 'column',
WebkitTapHighlightColor: 'transparent',
fontSize: theme.fn.size({ size, sizes: theme.fontSizes }),
lineHeight: `${theme.fn.size({ size, sizes })}px`,
Expand Down

0 comments on commit 4aa5bf7

Please sign in to comment.