update font size

pull/5370/head
aniket-engg 12 months ago
parent 6106d5b2ba
commit b860319aba
  1. 2
      apps/remix-ide/src/app/tabs/locales/en/settings.json
  2. 4
      libs/remix-ui/settings/src/lib/remix-ui-settings.tsx

@ -39,6 +39,6 @@
"settings.analyticsInRemix": "Analytics in Remix IDE", "settings.analyticsInRemix": "Analytics in Remix IDE",
"settings.copilot": "Solidity copilot - Alpha", "settings.copilot": "Solidity copilot - Alpha",
"settings.copilot.activate": "Load & Activate copilot", "settings.copilot.activate": "Load & Activate copilot",
"settings.copilot.max_new_tokens": "Maximum amount of new words to generate", "settings.copilot.max_new_tokens": "Maximum number of words to generate",
"settings.copilot.temperature": "Temperature" "settings.copilot.temperature": "Temperature"
} }

@ -466,7 +466,7 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => {
<div className="text-secondary mb-0 h6"> <div className="text-secondary mb-0 h6">
<div> <div>
<div className="mb-1"> <div className="mb-1">
<label className={`align-middle ${getTextClass('settings/copilot/suggest/max_new_tokens')}`} htmlFor="copilot-activate"> <label className={`form-check-label align-middle ${getTextClass('settings/copilot/suggest/max_new_tokens')}`} htmlFor="copilot-activate">
<FormattedMessage id="settings.copilot.max_new_tokens" /> - <span>{copilotMaxnewToken}</span> <FormattedMessage id="settings.copilot.max_new_tokens" /> - <span>{copilotMaxnewToken}</span>
</label> </label>
<input onChange={onchangeCopilotMaxNewToken} id="copilot-max-new-token" value={copilotMaxnewToken} min='1' max='150' type="range" className="custom-range" /> <input onChange={onchangeCopilotMaxNewToken} id="copilot-max-new-token" value={copilotMaxnewToken} min='1' max='150' type="range" className="custom-range" />
@ -479,7 +479,7 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => {
<div className="text-secondary mb-0 h6"> <div className="text-secondary mb-0 h6">
<div> <div>
<div className="mb-1"> <div className="mb-1">
<label className={`align-middle ${getTextClass('settings/copilot/suggest/temperature')}`} htmlFor="copilot-activate"> <label className={`form-check-label align-middle ${getTextClass('settings/copilot/suggest/temperature')}`} htmlFor="copilot-activate">
<FormattedMessage id="settings.copilot.temperature" /> - <span>{copilotTemperatureValue / 100}</span> <FormattedMessage id="settings.copilot.temperature" /> - <span>{copilotTemperatureValue / 100}</span>
</label> </label>
<input onChange={onchangeCopilotTemperature} id="copilot-temperature" value={copilotTemperatureValue} min='0' max='100' type="range" className="custom-range" /> <input onChange={onchangeCopilotTemperature} id="copilot-temperature" value={copilotTemperatureValue} min='0' max='100' type="range" className="custom-range" />

Loading…
Cancel
Save