mirror of
https://github.com/langgenius/dify.git
synced 2026-07-21 10:38:32 +08:00
fix: update role selector to use max height for scroll area (#38831)
This commit is contained in:
parent
6d8e390c95
commit
f4dfac7214
@ -159,8 +159,7 @@ const RoleSelector = ({ value, onChange }: RoleSelectorProps) => {
|
||||
>
|
||||
<ScrollArea
|
||||
ref={setContainerElement}
|
||||
className="h-70"
|
||||
slotClassNames={{ viewport: 'overscroll-contain' }}
|
||||
slotClassNames={{ viewport: 'overscroll-contain max-h-70' }}
|
||||
>
|
||||
<div className="p-1">
|
||||
{rolesLoading ? (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user