diff --git a/webview-ui/src/components/ApiOptions.tsx b/webview-ui/src/components/ApiOptions.tsx
index cc124c2..2086216 100644
--- a/webview-ui/src/components/ApiOptions.tsx
+++ b/webview-ui/src/components/ApiOptions.tsx
@@ -136,19 +136,17 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage }: ApiOptionsProps) => {
Anthropic API Key
-
- {
- const isChecked = e.target.checked === true
- setAnthropicBaseUrlSelected(isChecked)
- if (!isChecked) {
- setApiConfiguration({ ...apiConfiguration, anthropicBaseUrl: "" })
- }
- }}>
- Use custom base URL
-
-
+ {
+ const isChecked = e.target.checked === true
+ setAnthropicBaseUrlSelected(isChecked)
+ if (!isChecked) {
+ setApiConfiguration({ ...apiConfiguration, anthropicBaseUrl: "" })
+ }
+ }}>
+ Use custom base URL
+
{anthropicBaseUrlSelected && (
{
placeholder={"Enter Model ID..."}>
Model ID
-
- {
- const isChecked = e.target.checked === true
- setAzureApiVersionSelected(isChecked)
- if (!isChecked) {
- setApiConfiguration({ ...apiConfiguration, azureApiVersion: "" })
- }
- }}>
- Set Azure API version
-
-
+ {
+ const isChecked = e.target.checked === true
+ setAzureApiVersionSelected(isChecked)
+ if (!isChecked) {
+ setApiConfiguration({ ...apiConfiguration, azureApiVersion: "" })
+ }
+ }}>
+ Set Azure API version
+
{azureApiVersionSelected && (
{
fontSize: "var(--vscode-editor-font-size)",
borderRadius: "3px",
border: "1px solid var(--vscode-textSeparator-foreground)",
- // padding: "2px 4px",
+ padding: "0px 2px",
}}>
{children}
diff --git a/webview-ui/src/index.css b/webview-ui/src/index.css
index c218019..6811e48 100644
--- a/webview-ui/src/index.css
+++ b/webview-ui/src/index.css
@@ -19,9 +19,7 @@ html {
body {
margin: 0;
-}
-body, body * {
- line-height: 1.5em;
+ line-height: 1.3;
}
body.scrollable,