From f6a2239346c72bea93211a9f976bc1ee7e4014c3 Mon Sep 17 00:00:00 2001 From: himanshupathak95 Date: Mon, 10 Feb 2025 13:09:56 +0530 Subject: [PATCH] Input Control: Remove mobile-specific font size override in input controls --- .../src/input-control/styles/input-control-styles.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/components/src/input-control/styles/input-control-styles.tsx b/packages/components/src/input-control/styles/input-control-styles.tsx index db24a5e60f137..cce83d2206831 100644 --- a/packages/components/src/input-control/styles/input-control-styles.tsx +++ b/packages/components/src/input-control/styles/input-control-styles.tsx @@ -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 }; `; };