Skip to content

Commit

Permalink
[@mantine/core] add inline flex to label wrapper to prevent Component…
Browse files Browse the repository at this point in the history
… label from going bottom right
  • Loading branch information
adarshaacharya committed Nov 5, 2022
1 parent 1f1b226 commit b578b4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mantine-core/src/InlineInput/InlineInput.styles.ts
Expand Up @@ -22,6 +22,7 @@ export default createStyles((theme, { labelPosition, size }: InlineInputStylesPa

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

0 comments on commit b578b4a

Please sign in to comment.