Skip to content

Commit

Permalink
Fix select on Flags page not working on Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitrrine committed Jul 13, 2024
1 parent 973403a commit 4002fe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/Select.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<select
class="bg-transparent px-5 py-3 rounded-xl text-lg border-2 border-[var(--text-colour)] cursor-pointer hover:brightness-125"
class="bg-transparent focus:bg-black px-5 py-3 rounded-xl text-lg border-2 border-[var(--text-colour)] cursor-pointer hover:brightness-125"
>
<slot />
</select>
Expand Down
2 changes: 1 addition & 1 deletion pages/flags.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<option
v-for="locale in availableLocales"
:value="locale.code"
@click="setLocale(locale.code)"
@click.prevent.stop="setLocale(locale.code)"
>
{{ locale.name }}
</option>
Expand Down

0 comments on commit 4002fe9

Please sign in to comment.