Skip to content

Commit

Permalink
fix(components): adjust disclosure button height
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlfischer committed Jan 24, 2024
1 parent 297357d commit cd0ab56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/disclosure/disclosure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ interface DisclosureButtonProps extends React.ComponentPropsWithoutRef<"button">
const DisclosureButton = ({ children, ...props }: DisclosureButtonProps) => {
return (
<HeadlessUiDisclosure.Button
className="headline-300 flex h-10 w-full items-center justify-between border-b border-neutral-300 bg-neutral-50 py-3 pl-3 pr-5 text-left text-neutral-900 focus:outline focus:outline-2 focus:outline-offset-0 focus:outline-primary-200"
className="headline-300 flex w-full items-center justify-between border-b border-t border-b-neutral-300 border-t-transparent bg-neutral-50 py-3 pl-3 pr-5 text-left text-neutral-900 focus:outline focus:outline-2 focus:outline-offset-0 focus:outline-primary-200"
{...props}
>
{({ open }) => (
<>
{children}
<span>{children}</span>
<ChevronDownIcon
className={classNames("h-3 w-3", open && "rotate-180 transform")}
/>
Expand Down

0 comments on commit cd0ab56

Please sign in to comment.