diff --git a/src/components/Settings/RadarrModal/index.tsx b/src/components/Settings/RadarrModal/index.tsx index c83e272c..a582607e 100644 --- a/src/components/Settings/RadarrModal/index.tsx +++ b/src/components/Settings/RadarrModal/index.tsx @@ -365,6 +365,7 @@ const RadarrModal: React.FC = ({ name="port" type="text" placeholder="7878" + className="port" onChange={(e: React.ChangeEvent) => { setIsValidated(false); setFieldValue('port', e.target.value); diff --git a/src/components/Settings/SettingsPlex.tsx b/src/components/Settings/SettingsPlex.tsx index f4afea7a..6d7afed8 100644 --- a/src/components/Settings/SettingsPlex.tsx +++ b/src/components/Settings/SettingsPlex.tsx @@ -491,6 +491,7 @@ const SettingsPlex: React.FC = ({ onComplete }) => { id="port" name="port" placeholder="32400" + className="port" /> {errors.port && touched.port && ( diff --git a/src/components/Settings/SonarrModal/index.tsx b/src/components/Settings/SonarrModal/index.tsx index 87b5ce8f..0f418904 100644 --- a/src/components/Settings/SonarrModal/index.tsx +++ b/src/components/Settings/SonarrModal/index.tsx @@ -372,6 +372,7 @@ const SonarrModal: React.FC = ({ name="port" type="text" placeholder="8989" + className="port" onChange={(e: React.ChangeEvent) => { setIsValidated(false); setFieldValue('port', e.target.value); diff --git a/src/styles/globals.css b/src/styles/globals.css index ee022c8f..7dcaae94 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -89,6 +89,10 @@ select.rounded-r-only { @apply rounded-l-none; } +input.port { + @apply w-24; +} + .protocol { @apply inline-flex items-center px-3 text-gray-100 bg-gray-600 border border-r-0 border-gray-500 cursor-default rounded-l-md sm:text-sm; }