mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-10 04:49:29 +02:00
ensure everythigng has a default max height in selectorformfield (#3174)
This commit is contained in:
parent
9209fc804b
commit
2a54f14195
@ -662,7 +662,10 @@ export function SelectorFormField({
|
||||
{container && (
|
||||
<SelectContent
|
||||
side={side}
|
||||
className={maxHeight ? `max-h-[${maxHeight}]` : undefined}
|
||||
className={`
|
||||
${maxHeight ? `${maxHeight}` : "max-h-72"}
|
||||
overflow-y-scroll
|
||||
`}
|
||||
container={container}
|
||||
>
|
||||
{options.length === 0 ? (
|
||||
|
@ -62,7 +62,9 @@ export const LlmList: React.FC<LlmListProps> = ({
|
||||
|
||||
return (
|
||||
<div
|
||||
className={`${scrollable ? "max-h-[200px] include-scrollbar" : "max-h-[300px]"} bg-background-175 flex flex-col gap-y-1 overflow-y-scroll`}
|
||||
className={`${
|
||||
scrollable ? "max-h-[200px] include-scrollbar" : "max-h-[300px]"
|
||||
} bg-background-175 flex flex-col gap-y-1 overflow-y-scroll`}
|
||||
>
|
||||
{userDefault && (
|
||||
<button
|
||||
|
Loading…
x
Reference in New Issue
Block a user