mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Update styles
This commit is contained in:
@@ -136,7 +136,6 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage }: ApiOptionsProps) => {
|
|||||||
<span style={{ fontWeight: 500 }}>Anthropic API Key</span>
|
<span style={{ fontWeight: 500 }}>Anthropic API Key</span>
|
||||||
</VSCodeTextField>
|
</VSCodeTextField>
|
||||||
|
|
||||||
<div style={{ marginTop: 2 }}>
|
|
||||||
<VSCodeCheckbox
|
<VSCodeCheckbox
|
||||||
checked={anthropicBaseUrlSelected}
|
checked={anthropicBaseUrlSelected}
|
||||||
onChange={(e: any) => {
|
onChange={(e: any) => {
|
||||||
@@ -148,7 +147,6 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage }: ApiOptionsProps) => {
|
|||||||
}}>
|
}}>
|
||||||
Use custom base URL
|
Use custom base URL
|
||||||
</VSCodeCheckbox>
|
</VSCodeCheckbox>
|
||||||
</div>
|
|
||||||
|
|
||||||
{anthropicBaseUrlSelected && (
|
{anthropicBaseUrlSelected && (
|
||||||
<VSCodeTextField
|
<VSCodeTextField
|
||||||
@@ -415,7 +413,6 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage }: ApiOptionsProps) => {
|
|||||||
placeholder={"Enter Model ID..."}>
|
placeholder={"Enter Model ID..."}>
|
||||||
<span style={{ fontWeight: 500 }}>Model ID</span>
|
<span style={{ fontWeight: 500 }}>Model ID</span>
|
||||||
</VSCodeTextField>
|
</VSCodeTextField>
|
||||||
<div style={{ marginTop: 2 }}>
|
|
||||||
<VSCodeCheckbox
|
<VSCodeCheckbox
|
||||||
checked={azureApiVersionSelected}
|
checked={azureApiVersionSelected}
|
||||||
onChange={(e: any) => {
|
onChange={(e: any) => {
|
||||||
@@ -427,7 +424,6 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage }: ApiOptionsProps) => {
|
|||||||
}}>
|
}}>
|
||||||
Set Azure API version
|
Set Azure API version
|
||||||
</VSCodeCheckbox>
|
</VSCodeCheckbox>
|
||||||
</div>
|
|
||||||
{azureApiVersionSelected && (
|
{azureApiVersionSelected && (
|
||||||
<VSCodeTextField
|
<VSCodeTextField
|
||||||
value={apiConfiguration?.azureApiVersion || ""}
|
value={apiConfiguration?.azureApiVersion || ""}
|
||||||
|
|||||||
@@ -840,7 +840,7 @@ const Markdown = memo(({ markdown }: { markdown?: string }) => {
|
|||||||
fontSize: "var(--vscode-editor-font-size)",
|
fontSize: "var(--vscode-editor-font-size)",
|
||||||
borderRadius: "3px",
|
borderRadius: "3px",
|
||||||
border: "1px solid var(--vscode-textSeparator-foreground)",
|
border: "1px solid var(--vscode-textSeparator-foreground)",
|
||||||
// padding: "2px 4px",
|
padding: "0px 2px",
|
||||||
}}>
|
}}>
|
||||||
{children}
|
{children}
|
||||||
</code>
|
</code>
|
||||||
|
|||||||
@@ -19,9 +19,7 @@ html {
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
line-height: 1.3;
|
||||||
body, body * {
|
|
||||||
line-height: 1.5em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body.scrollable,
|
body.scrollable,
|
||||||
|
|||||||
Reference in New Issue
Block a user