chore: Update styles in ScriptBrowser and Accordion components
This commit is contained in:
@@ -222,7 +222,7 @@ const ScriptBrowser = ({
|
||||
? "open"
|
||||
: "closed"
|
||||
}
|
||||
className="pb-2 pt-0"
|
||||
className="pt-0"
|
||||
>
|
||||
{category.expand.items
|
||||
.filter((script) =>
|
||||
|
||||
@@ -27,7 +27,7 @@ const AccordionTrigger = React.forwardRef<
|
||||
<AccordionPrimitive.Trigger
|
||||
ref={ref}
|
||||
className={cn(
|
||||
"flex flex-1 items-center justify-between py-1 font-medium transition-all [&[data-state=open]>svg]:rotate-180",
|
||||
"flex flex-1 items-center justify-between py-1 pr-2 font-medium transition-all [&[data-state=open]>svg]:rotate-180",
|
||||
className,
|
||||
)}
|
||||
{...props}
|
||||
@@ -48,7 +48,7 @@ const AccordionContent = React.forwardRef<
|
||||
className="overflow-hidden py-1 text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down"
|
||||
{...props}
|
||||
>
|
||||
<div className={cn("pb-4 pt-0", className)}>{children}</div>
|
||||
<div className={cn("pt-0", className)}>{children}</div>
|
||||
</AccordionPrimitive.Content>
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user