Skip to content

Commit

Permalink
style: disable default select highlight (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 authored Dec 20, 2023
1 parent bfc35e2 commit 14aa4f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/DropdownComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const DropdownComponentSearch = (props: DropdownComponentProps) => {
<select
value={value}
onChange={handleChange}
className="block h-full w-full appearance-none overflow-ellipsis rounded-xl border-4 border-black px-4 pr-12 text-lg opacity-40 focus:border-primary focus:opacity-80 md:pr-16 md:text-2xl"
className="block h-full w-full appearance-none overflow-ellipsis rounded-xl border-4 border-black px-4 pr-12 text-lg opacity-40 outline-none focus:border-primary focus:opacity-80 md:pr-16 md:text-2xl"
>
{data.map((item) => (
<option key={item}>{item}</option>
Expand Down
2 changes: 1 addition & 1 deletion components/hero/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const DropdownComponent = (props: DropdownComponentProps) => {
<select
value={value}
onChange={handleChange}
className="block h-full w-full appearance-none overflow-ellipsis rounded-xl border-4 border-black px-4 pr-12 text-lg opacity-40 focus:border-primary focus:opacity-80 md:pr-16 md:text-2xl"
className="block h-full w-full appearance-none overflow-ellipsis rounded-xl border-4 border-black px-4 pr-12 text-lg opacity-40 outline-none focus:border-primary focus:opacity-80 md:pr-16 md:text-2xl"
>
{data.map((item) => (
<option key={item}>{item}</option>
Expand Down

0 comments on commit 14aa4f6

Please sign in to comment.