diff --git a/src/components/settings-modal/pkc-options/pkc-options.module.css b/src/components/settings-modal/pkc-options/pkc-options.module.css index 5c5bc39d..e430ccad 100644 --- a/src/components/settings-modal/pkc-options/pkc-options.module.css +++ b/src/components/settings-modal/pkc-options/pkc-options.module.css @@ -18,18 +18,15 @@ } .ipfsGatewaysSettings textarea { - min-height: 80px; - height: 80px; + height: unset; } .pubsubProvidersSettings textarea { - min-height: 50px; - height: 50px; + height: unset; } .blockchainProvidersSettings textarea { - min-height: 50px; - height: 50px; + height: unset; } .content button { diff --git a/src/components/settings-modal/pkc-options/pkc-options.tsx b/src/components/settings-modal/pkc-options/pkc-options.tsx index ff71a1ea..7b35830e 100644 --- a/src/components/settings-modal/pkc-options/pkc-options.tsx +++ b/src/components/settings-modal/pkc-options/pkc-options.tsx @@ -32,6 +32,7 @@ const IPFSGatewaysSettings = ({ ipfsGatewayUrlsRef, mediaIpfsGatewayUrlRef }: Se autoCorrect='off' autoComplete='off' spellCheck='false' + rows={ipfsGatewayUrls?.length || 1} /> NFT profile pics gateway @@ -68,6 +69,7 @@ const PubsubProvidersSettings = ({ pubsubProvidersRef }: SettingsProps) => { autoCapitalize='off' autoComplete='off' spellCheck='false' + rows={pubsubHttpClientsOptions?.length || 1} /> ); @@ -85,15 +87,36 @@ const BlockchainProvidersSettings = ({ ethRpcRef, solRpcRef, maticRpcRef }: Sett