Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(components): adjust disclosure button height #98

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading