Skip to content

Commit

Permalink
feat: added white background
Browse files Browse the repository at this point in the history
  • Loading branch information
coderwelsch committed Feb 14, 2024
1 parent a4cec9a commit a63b9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/form-field/listbox/listbox-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface ListboxButtonProps {

const ListboxButton = ({ children }: ListboxButtonProps) => {
return (
<Listbox.Button className="group flex h-8 w-full cursor-pointer items-center rounded border border-neutral-400 py-2 pl-3 pr-8 outline-none hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200 ui-open:border-primary-400 ui-open:ring-2 ui-open:ring-primary-200">
<Listbox.Button className="group flex h-8 w-full cursor-pointer items-center rounded border border-neutral-400 bg-neutral-0 py-2 pl-3 pr-8 outline-none hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200 ui-open:border-primary-400 ui-open:ring-2 ui-open:ring-primary-200">
{children}
<div className="absolute inset-y-0 right-0 flex items-center px-1.5">
<div className="flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100 focus:outline-none">
Expand Down

0 comments on commit a63b9bd

Please sign in to comment.