fix popup ui

This commit is contained in:
go0p
2026-08-06 15:11:35 +08:00
committed by go0p
parent eabf81c1af
commit 36513b18d2
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -254,6 +254,11 @@ body {
color: white !important;
}
/* 选中态下的YAK图标变为白色 */
.proxy-switch-container .ant-menu-item.ant-menu-item-selected img {
filter: brightness(0) invert(1) !important;
}
.proxy-switch-container .ant-menu-item:hover {
background-color: #f5f5f5 !important;
}
+1 -1
View File
@@ -218,7 +218,7 @@ export const ProxySwitch: React.FC = () => {
...customProxies.map(proxy => ({
key: proxy.key,
label: proxy.name,
icon: <img src={YAK_ICON_URL} alt="YAK" style={{width: 16, height: 16}}/>,
icon: <img src={YAK_ICON_URL} alt="YAK" style={{width: 24, height: 24}}/>,
className: `${currentMode === proxy.key ? 'active-item' : ''} menu-id-${proxy.key}`,
}))
);