diff --git a/src/renderer/src/components/sider/conn-card.tsx b/src/renderer/src/components/sider/conn-card.tsx index 3627a45..dc893b6 100644 --- a/src/renderer/src/components/sider/conn-card.tsx +++ b/src/renderer/src/components/sider/conn-card.tsx @@ -95,7 +95,7 @@ const ConnCard: React.FC = () => { transition, zIndex: isDragging ? 'calc(infinity)' : undefined }} - className={connectionCardStatus} + className={`${connectionCardStatus} conn-card`} > {connectionCardStatus === 'col-span-2' ? ( <> diff --git a/src/renderer/src/components/sider/mihomo-core-card.tsx b/src/renderer/src/components/sider/mihomo-core-card.tsx index 529b999..fd492b7 100644 --- a/src/renderer/src/components/sider/mihomo-core-card.tsx +++ b/src/renderer/src/components/sider/mihomo-core-card.tsx @@ -51,7 +51,7 @@ const MihomoCoreCard: React.FC = () => { transition, zIndex: isDragging ? 'calc(infinity)' : undefined }} - className={mihomoCoreCardStatus} + className={`${mihomoCoreCardStatus} mihomo-core-card`} > {mihomoCoreCardStatus === 'col-span-2' ? ( { color="primary" selectedKey={mode} classNames={{ - tabList: 'bg-content1 shadow-medium' + tabList: 'bg-content1 shadow-medium outbound-mode-card' }} onSelectionChange={(key: Key) => onChangeMode(key as OutboundMode)} > diff --git a/src/renderer/src/components/sider/proxy-card.tsx b/src/renderer/src/components/sider/proxy-card.tsx index c311657..cc4fbdf 100644 --- a/src/renderer/src/components/sider/proxy-card.tsx +++ b/src/renderer/src/components/sider/proxy-card.tsx @@ -32,7 +32,7 @@ const ProxyCard: React.FC = () => { transition, zIndex: isDragging ? 'calc(infinity)' : undefined }} - className={proxyCardStatus} + className={`${proxyCardStatus} proxy-card`} > { transition, zIndex: isDragging ? 'calc(infinity)' : undefined }} - className={resourceCardStatus} + className={`${resourceCardStatus} resource-card`} > { transition, zIndex: isDragging ? 'calc(infinity)' : undefined }} - className={ruleCardStatus} + className={`${ruleCardStatus} rule-card`} > { transition, zIndex: isDragging ? 'calc(infinity)' : undefined }} - className={`${sniffCardStatus} ${!controlSniff ? 'hidden' : ''}`} + className={`${sniffCardStatus} ${!controlSniff ? 'hidden' : ''} sniff-card`} > { transition, zIndex: isDragging ? 'calc(infinity)' : undefined }} - className={`${substoreCardStatus} ${!useSubStore ? 'hidden' : ''}`} + className={`${substoreCardStatus} ${!useSubStore ? 'hidden' : ''} substore-card`} >