Skip to content

Commit

Permalink
Merge pull request #97 from abusix/ahq2-58-hailstorm-set-focus-state-…
Browse files Browse the repository at this point in the history
…for-disclosure-buttons

fix(components): add missing focus outline
  • Loading branch information
mnlfischer authored Jan 24, 2024
2 parents 901385f + b54903d commit 297357d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/disclosure/disclosure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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"
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"
{...props}
>
{({ open }) => (
Expand Down

0 comments on commit 297357d

Please sign in to comment.