fix: discover form overflow style
Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
parent
43d07e4f54
commit
939d7f9b2b
|
|
@ -228,13 +228,8 @@ export const DiscoverFeedForm = ({
|
|||
<div className={cn("flex h-full flex-col", "mx-auto")} ref={rootContainerRef}>
|
||||
<Form {...form}>
|
||||
<ScrollArea.ScrollArea
|
||||
flex
|
||||
rootClassName={cn(
|
||||
isInModal && "-mx-4 px-4 -mt-4",
|
||||
"max-h-[calc(100vh-200px)] grow overflow-scroll",
|
||||
rootClassName,
|
||||
)}
|
||||
viewportClassName={cn("pt-4", viewportClassName)}
|
||||
rootClassName={cn(isInModal && "-mx-4 -mt-4", rootClassName)}
|
||||
viewportClassName={cn("pt-4 px-4 max-h-[calc(100vh-200px)]", viewportClassName)}
|
||||
>
|
||||
<div className="flex">
|
||||
<div className="w-0 grow truncate">
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ const SelectTrigger = ({
|
|||
"flex w-full items-center justify-between whitespace-nowrap rounded-lg bg-transparent",
|
||||
"focus-within:ring-material-medium outline-none transition-all duration-200 focus-within:outline-transparent focus-within:ring-2",
|
||||
"border-border hover:border-fill border",
|
||||
size === "sm" ? "h-8 px-3 text-sm" : "h-10 px-3.5 py-2 text-sm",
|
||||
size === "sm" ? "h-8 px-3 text-sm" : "h-9 px-3.5 py-2 text-sm",
|
||||
"placeholder:text-text-secondary",
|
||||
"disabled:cursor-not-allowed disabled:opacity-50",
|
||||
"[&>span]:line-clamp-1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue