Update styles

This commit is contained in:
Saoud Rizwan
2024-09-23 20:33:20 -04:00
parent 1ab7d55ef7
commit f774e62c13
3 changed files with 24 additions and 30 deletions

View File

@@ -136,7 +136,6 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage }: ApiOptionsProps) => {
<span style={{ fontWeight: 500 }}>Anthropic API Key</span>
</VSCodeTextField>
<div style={{ marginTop: 2 }}>
<VSCodeCheckbox
checked={anthropicBaseUrlSelected}
onChange={(e: any) => {
@@ -148,7 +147,6 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage }: ApiOptionsProps) => {
}}>
Use custom base URL
</VSCodeCheckbox>
</div>
{anthropicBaseUrlSelected && (
<VSCodeTextField
@@ -415,7 +413,6 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage }: ApiOptionsProps) => {
placeholder={"Enter Model ID..."}>
<span style={{ fontWeight: 500 }}>Model ID</span>
</VSCodeTextField>
<div style={{ marginTop: 2 }}>
<VSCodeCheckbox
checked={azureApiVersionSelected}
onChange={(e: any) => {
@@ -427,7 +424,6 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage }: ApiOptionsProps) => {
}}>
Set Azure API version
</VSCodeCheckbox>
</div>
{azureApiVersionSelected && (
<VSCodeTextField
value={apiConfiguration?.azureApiVersion || ""}

View File

@@ -840,7 +840,7 @@ const Markdown = memo(({ markdown }: { markdown?: string }) => {
fontSize: "var(--vscode-editor-font-size)",
borderRadius: "3px",
border: "1px solid var(--vscode-textSeparator-foreground)",
// padding: "2px 4px",
padding: "0px 2px",
}}>
{children}
</code>

View File

@@ -19,9 +19,7 @@ html {
body {
margin: 0;
}
body, body * {
line-height: 1.5em;
line-height: 1.3;
}
body.scrollable,