fix(ui): Restore original port input size (#814)

pull/801/head
TheCatLady 4 years ago committed by GitHub
parent 7c192d54f4
commit 1ccafc0ebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -365,6 +365,7 @@ const RadarrModal: React.FC<RadarrModalProps> = ({
name="port"
type="text"
placeholder="7878"
className="port"
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
setIsValidated(false);
setFieldValue('port', e.target.value);

@ -491,6 +491,7 @@ const SettingsPlex: React.FC<SettingsPlexProps> = ({ onComplete }) => {
id="port"
name="port"
placeholder="32400"
className="port"
/>
</div>
{errors.port && touched.port && (

@ -372,6 +372,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
name="port"
type="text"
placeholder="8989"
className="port"
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
setIsValidated(false);
setFieldValue('port', e.target.value);

@ -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;
}

Loading…
Cancel
Save