Skip to content

Commit

Permalink
Input Control: Remove mobile-specific font size override in input con…
Browse files Browse the repository at this point in the history
…trols
  • Loading branch information
himanshupathak95 committed Feb 10, 2025
1 parent 530c61a commit f6a2239
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,18 +162,13 @@ export const fontSizeStyles = ( { inputSize: size }: InputProps ) => {
};

const fontSize = sizes[ size as Size ] || sizes.default;
const fontSizeMobile = '16px';

if ( ! fontSize ) {
return '';
}

return css`
font-size: ${ fontSizeMobile };
@media ( min-width: 600px ) {
font-size: ${ fontSize };
}
font-size: ${ fontSize };
`;
};

Expand Down

0 comments on commit f6a2239

Please sign in to comment.