mirror of
https://github.com/yaklang/yaklang-chrome-extension.git
synced 2026-09-22 03:10:43 +08:00
fix popup ui
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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}`,
|
||||
}))
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user