fix Select style

This commit is contained in:
pompurin404 2024-10-13 19:07:34 +08:00
parent e0af19583c
commit 07101a1b84
No known key found for this signature in database
4 changed files with 7 additions and 0 deletions

View File

@ -163,6 +163,7 @@ const GeneralConfig: React.FC = () => {
divider
>
<Select
classNames={{ trigger: 'data-[hover=true]:bg-default-200' }}
className="w-[150px]"
size="sm"
selectionMode="multiple"
@ -348,6 +349,7 @@ const GeneralConfig: React.FC = () => {
>
{customThemes && (
<Select
classNames={{ trigger: 'data-[hover=true]:bg-default-200' }}
className="w-[60%]"
size="sm"
selectedKeys={new Set([customTheme])}

View File

@ -120,6 +120,7 @@ const MihomoConfig: React.FC = () => {
</SettingItem>
<SettingItem title="代理节点展示列数" divider>
<Select
classNames={{ trigger: 'data-[hover=true]:bg-default-200' }}
className="w-[150px]"
size="sm"
selectedKeys={new Set([proxyCols])}

View File

@ -229,6 +229,7 @@ const Connections: React.FC = () => {
/>
<Select
classNames={{ trigger: 'data-[hover=true]:bg-default-200' }}
size="sm"
className="w-[180px] min-w-[120px]"
selectedKeys={new Set([connectionOrderBy])}

View File

@ -101,6 +101,7 @@ const Mihomo: React.FC = () => {
divider
>
<Select
classNames={{ trigger: 'data-[hover=true]:bg-default-200' }}
className="w-[100px]"
size="sm"
selectedKeys={new Set([core])}
@ -635,6 +636,7 @@ const Mihomo: React.FC = () => {
</SettingItem>
<SettingItem title="日志等级" divider>
<Select
classNames={{ trigger: 'data-[hover=true]:bg-default-200' }}
className="w-[100px]"
size="sm"
selectedKeys={new Set([logLevel])}
@ -651,6 +653,7 @@ const Mihomo: React.FC = () => {
</SettingItem>
<SettingItem title="查找进程">
<Select
classNames={{ trigger: 'data-[hover=true]:bg-default-200' }}
className="w-[100px]"
size="sm"
selectedKeys={new Set([findProcessMode])}