This commit is contained in:
Saoud Rizwan
2024-10-04 03:46:31 -04:00
parent c79afa52cc
commit 916dceafab

View File

@@ -133,10 +133,11 @@ const OpenRouterModelPicker: React.FC = () => {
} }
`} `}
</style> </style>
<DropdownWrapper ref={dropdownRef}> <div>
<label htmlFor="model-search"> <label htmlFor="model-search">
<span style={{ fontWeight: 500 }}>Model</span> <span style={{ fontWeight: 500 }}>Model</span>
</label> </label>
<DropdownWrapper ref={dropdownRef}>
<VSCodeTextField <VSCodeTextField
id="model-search" id="model-search"
placeholder="Search and select a model..." placeholder="Search and select a model..."
@@ -186,6 +187,7 @@ const OpenRouterModelPicker: React.FC = () => {
</DropdownList> </DropdownList>
)} )}
</DropdownWrapper> </DropdownWrapper>
</div>
{hasInfo ? ( {hasInfo ? (
<ModelInfoView <ModelInfoView
@@ -310,7 +312,7 @@ export const ModelDescriptionMarkdown = memo(
}, [reactContent, setIsExpanded]) }, [reactContent, setIsExpanded])
return ( return (
<StyledMarkdown key={key} style={{ display: "inline-block", marginBottom: 5 }}> <StyledMarkdown key={key} style={{ display: "inline-block", marginBottom: 0 }}>
<div <div
ref={textContainerRef} ref={textContainerRef}
style={{ style={{