.ant-menu-item:hover {
- background-color: ${token.colorBgHeaderMenuHover};
- color: ${token.colorTextHeaderMenuHover};
+ background-color: ${token.colorBgHeaderMenuHover} !important;
+ color: ${token.colorTextHeaderMenuHover} !important;
}
position: fixed;
@@ -223,14 +291,15 @@ export const InternalAdminLayout = (props: any) => {
line-height: var(--nb-header-height);
padding: 0;
z-index: 100;
- background-color: ${token.colorBgHeader};
+ background-color: ${token.colorBgHeader} !important;
.ant-menu {
background-color: transparent;
}
- .ant-menu-item {
- color: ${token.colorTextHeaderMenu};
+ .ant-menu-item,
+ .ant-menu-submenu-horizontal {
+ color: ${token.colorTextHeaderMenu} !important;
}
`}
>
@@ -277,7 +346,9 @@ export const InternalAdminLayout = (props: any) => {
width: 0;
`}
>
-
+
+
+
{
+ return {
+ button: {
+ // @ts-ignore
+ color: token.colorTextHeaderMenu + ' !important',
+ },
+ };
+});
diff --git a/packages/plugins/@nocobase/plugin-multi-app-manager/src/client/MultiAppManagerProvider.tsx b/packages/plugins/@nocobase/plugin-multi-app-manager/src/client/MultiAppManagerProvider.tsx
index 1cca06a95..f4a56fb2a 100644
--- a/packages/plugins/@nocobase/plugin-multi-app-manager/src/client/MultiAppManagerProvider.tsx
+++ b/packages/plugins/@nocobase/plugin-multi-app-manager/src/client/MultiAppManagerProvider.tsx
@@ -3,9 +3,11 @@ import { Button, Dropdown } from 'antd';
import React from 'react';
import { Link } from 'react-router-dom';
import { AppNameInput } from './AppNameInput';
+import { useStyles } from './MultiAppManagerProvider.style';
import { usePluginUtils } from './utils';
const MultiAppManager = () => {
+ const { styles } = useStyles();
const { data, run } = useRequest<{
data: any[];
}>(
@@ -46,7 +48,7 @@ const MultiAppManager = () => {
}}
menu={{ items }}
>
- } />
+ } />
);
};