fix style

This commit is contained in:
pompurin404 2024-11-14 18:44:23 +08:00
parent fe163c40c2
commit dac2336eb6
No known key found for this signature in database
2 changed files with 2 additions and 11 deletions

View File

@ -31,7 +31,7 @@ const SubStoreCard: React.FC<Props> = (props) => {
if (iconOnly) { if (iconOnly) {
return ( return (
<div className={`${substoreCardStatus} flex justify-center`}> <div className={`${substoreCardStatus} ${!useSubStore ? 'hidden' : ''} flex justify-center`}>
<Tooltip content="Sub-Store" placement="right"> <Tooltip content="Sub-Store" placement="right">
<Button <Button
size="sm" size="sm"

View File

@ -9,7 +9,6 @@ import { openUWPTool, triggerSysProxy } from '@renderer/utils/ipc'
import { Key, useState } from 'react' import { Key, useState } from 'react'
import React from 'react' import React from 'react'
import { MdDeleteForever } from 'react-icons/md' import { MdDeleteForever } from 'react-icons/md'
import { IoIosHelpCircle } from 'react-icons/io'
const defaultBypass: string[] = const defaultBypass: string[] =
platform === 'linux' platform === 'linux'
@ -136,15 +135,7 @@ const Sysproxy: React.FC = () => {
}} }}
/> />
</SettingItem> </SettingItem>
<SettingItem <SettingItem title="代理模式" divider>
actions={
<Button isIconOnly size="sm" variant="light">
<IoIosHelpCircle className="text-lg" />
</Button>
}
title="代理模式"
divider
>
<Tabs <Tabs
size="sm" size="sm"
color="primary" color="primary"