Skip to content

Commit

Permalink
[@mantine/core] add column based inline flex with to label wrapper to…
Browse files Browse the repository at this point in the history
… prevent Component label from going bottom right
  • Loading branch information
adarshaacharya committed Nov 6, 2022
1 parent 1f1b226 commit c803f91
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 c803f91

Please sign in to comment.