fix: style issue of select element (#4902)

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/4898/head^2
Ryan Wang 2023-11-27 18:30:54 +08:00 committed by GitHub
parent 70889e3cdb
commit 080fd4306d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ const next = () => {
}
&__select {
@apply h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300;
@apply h-8 border outline-none rounded-base pr-10 border-solid px-2 text-gray-800 text-sm border-gray-300 focus:border-primary;
}
&__select-label {

View File

@ -31,7 +31,7 @@ watch(
<select
id="locale"
v-model="currentLocale"
class="block appearance-none rounded-md border-0 py-1.5 pl-3 pr-10 text-sm text-gray-800 outline-none ring-1 ring-inset ring-gray-200 focus:ring-primary"
class="block appearance-none rounded-md border-0 py-1.5 pl-3 pr-10 text-sm text-gray-800 outline-none ring-1 ring-inset ring-gray-200 focus:!ring-1 focus:!ring-primary"
>
<template v-for="locale in locales">
<option v-if="locale.name" :key="locale.code" :value="locale.code">